diff options
Diffstat (limited to 'sbin/dhcpleased/printconf.c')
-rw-r--r-- | sbin/dhcpleased/printconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/dhcpleased/printconf.c b/sbin/dhcpleased/printconf.c index 076fe2ec0ad..0ef3970366c 100644 --- a/sbin/dhcpleased/printconf.c +++ b/sbin/dhcpleased/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.4 2022/01/04 06:20:37 florian Exp $ */ +/* $OpenBSD: printconf.c,v 1.5 2023/11/25 12:00:39 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -126,6 +126,8 @@ print_config(struct dhcpleased_conf *conf) printf("\tignore %s\n", hbuf); } + if (iface->prefer_ipv6) + printf("\t prefer ipv6\n"); printf("}\n"); } } |