Révision 80bd949c
Ajouté par Ermal il y a presque 10 ans
patches/stable/10/CP_speedup.diff | ||
---|---|---|
1047 | 1047 |
+ struct table_entry *ent; |
1048 | 1048 |
+ |
1049 | 1049 |
+ KEY_LEN(sa) = KEY_LEN_INET; |
1050 |
+ sa.sin_addr.s_addr = *((in_addr_t *)arg->k);
|
|
1050 |
+ sa.sin_addr.s_addr = *((in_addr_t *)&arg->k.addr6);
|
|
1051 | 1051 |
+ ent = (struct table_entry *)(rnh->rnh_lookup(&sa, NULL, rnh)); |
1052 | 1052 |
+ if (ent == NULL) |
1053 | 1053 |
+ return (0); |
... | ... | |
1130 | 1130 |
+ struct table_entry *ent; |
1131 | 1131 |
+ |
1132 | 1132 |
+ KEY_LEN(sa) = KEY_LEN_INET; |
1133 |
+ sa.sin_addr.s_addr = *((in_addr_t *)arg->k);
|
|
1133 |
+ sa.sin_addr.s_addr = *((in_addr_t *)&arg->k.addr6);
|
|
1134 | 1134 |
+ ent = (struct table_entry *)(rnh->rnh_lookup(&sa, NULL, rnh)); |
1135 | 1135 |
+ if (ent == NULL) |
1136 | 1136 |
+ return (0); |
Formats disponibles : Unified diff
Oops forogt to push this in