openbsd-ports/shells/nsh/patches/patch-if_c
phessler bcdb42ac8d NSH consolidates configuration for interfaces, bridging, routing, PF
packet filtering, NAT, queueing, BGP, OSPF, RIP, IPsec, DHCP, DVMRP,
SNMP, relayd, sshd, inetd, ftp-proxy, resolv.conf and NTP. It presents
the user with a vaguely cisco-like interface with all configuration in
one easy to read text list.

some improvements from, and OK, sthen@
2012-09-17 13:51:51 +00:00

17 lines
545 B
Plaintext

$OpenBSD: patch-if_c,v 1.1.1.1 2012/09/17 13:51:51 phessler Exp $
From upstream commit 10030f694cc76f06b16ca8d070d187e693641af3
"autoconfprivacy is now default"
--- if.c.orig Mon May 21 16:48:58 2012
+++ if.c Sat Sep 15 05:04:32 2012
@@ -1304,7 +1304,7 @@ intxflags(char *ifname, int ifs, int argc, char **argv
set = 1;
if (isprefix(argv[0], "autoconfprivacy")) {
- value = IFXF_INET6_PRIVACY;
+ value = -IFXF_INET6_NOPRIVACY;
} else if (isprefix(argv[0], "mpls")) {
value = IFXF_MPLS;
} else if (isprefix(argv[0], "inet6")) {