aboutgitcodebugslistschat
path: root/passt.c
diff options
context:
space:
mode:
Diffstat (limited to 'passt.c')
-rw-r--r--passt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/passt.c b/passt.c
index 01eed1b..5d0b3cd 100644
--- a/passt.c
+++ b/passt.c
@@ -365,10 +365,10 @@ int main(int argc, char **argv)
proto_update_l2_buf(c.mac_guest, c.mac, &c.addr4);
- if (c.v4 && !c.no_dhcp)
+ if (c.ifi4 && !c.no_dhcp)
dhcp_init();
- if (c.v6 && !c.no_dhcpv6)
+ if (c.ifi6 && !c.no_dhcpv6)
dhcpv6_init(&c);
if (c.debug)