diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2021-10-06 06:14:09 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2021-10-06 06:14:09 +0000 |
commit | 014d6fb261de3416b2fb3c5bec90b7904e8dd260 (patch) | |
tree | dd02496f106a06d6b539f98cc60ad889b63db24a /sbin | |
parent | 33966ed2167f62cf7fd86fadb76f90dd1fcb9d75 (diff) |
Remove autoconfprivacy deprecation warning.
OK deraadt
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 7d86e887561..c603c3837fc 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.444 2021/07/12 15:09:18 beck Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.445 2021/10/06 06:14:08 florian Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -246,7 +246,6 @@ void setgroupattribs(char *, int, char *[]); int printgroup(char *, int); void setautoconf(const char *, int); void settemporary(const char *, int); -void setprivacy(const char *, int); void settrunkport(const char *, int); void unsettrunkport(const char *, int); void settrunkproto(const char *, int); @@ -466,8 +465,6 @@ const struct cmd { { "pltime", NEXTARG, 0, setia6pltime }, { "vltime", NEXTARG, 0, setia6vltime }, { "eui64", 0, 0, setia6eui64 }, - { "autoconfprivacy", 1, 0, setprivacy }, - { "-autoconfprivacy", -1, 0, setprivacy }, { "temporary", 1, 0, settemporary }, { "-temporary", -1, 0, settemporary }, { "soii", -IFXF_INET6_NOSOII, 0, setifxflags }, @@ -1602,14 +1599,6 @@ settemporary(const char *cmd, int val) } } -/* XXX remove after 7.0 */ -void -setprivacy(const char *cmd, int val) -{ - warnx("The 'autoconfprivacy' option is deprecated, use 'temporary'"); - settemporary(cmd, val); -} - #ifndef SMALL /* ARGSUSED */ void |