Révision e947706e
Ajouté par Ermal il y a presque 10 ans
pfPorts/php55-pfSense-module/files/pfSense.c | ||
---|---|---|
765 | 765 |
xent->tbl = (u_int16_t)table; |
766 | 766 |
|
767 | 767 |
if (strchr(ip, ':')) { |
768 |
if (!inet_pton(AF_INET6, ip, &xent->k.addr6)) {
|
|
768 |
if (!inet_pton(AF_INET6, ip, &xent->k.mix.addr)) {
|
|
769 | 769 |
efree(op3); |
770 | 770 |
RETURN_FALSE; |
771 | 771 |
} |
772 |
} else if (!inet_pton(AF_INET, ip, &xent->k.addr6)) {
|
|
772 |
} else if (!inet_pton(AF_INET, ip, &xent->k.mix.addr)) {
|
|
773 | 773 |
efree(op3); |
774 | 774 |
RETURN_FALSE; |
775 | 775 |
} |
Formats disponibles : Unified diff
Correct doing operation with new style table