From: Joan Lledó <[email protected]>
---
pfinet/options.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pfinet/options.c b/pfinet/options.c
index 1e8c1c26..fd88ea6b 100644
--- a/pfinet/options.c
+++ b/pfinet/options.c
@@ -464,8 +464,8 @@ parse_opt (int opt, char *arg, struct argp_state *state)
if (in->address == INADDR_NONE && in->netmask == INADDR_NONE)
{
- h->curint->address = ADDR ("0.0.0.0", "address");
- h->curint->netmask = ADDR ("255.0.0.0", "netmask");
+ in->address = ADDR ("0.0.0.0", "address");
+ in->netmask = ADDR ("255.0.0.0", "netmask");
}
if (in->device)
--
2.50.1