diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2017-06-06 04:52:41 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2017-06-06 04:52:41 +0000 |
commit | d7f09d55ec889091827df4ac021f5d0e39d316e2 (patch) | |
tree | 1511add2801adb131fd116814dd935500d14bedc /sbin | |
parent | 4e3d4f260c9011e661b77d0a7660e9fb95b6b027 (diff) |
make vnetid and parent commands available in SMALL ifconfigs.
the code behind the commands has been built on SMALL forever, this just
moves it available in the cmd table. the binary doesnt change size.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 129bfbde1ff..5944d5b46c0 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.342 2017/06/05 05:10:23 dlg Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.343 2017/06/06 04:52:40 dlg Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -367,6 +367,10 @@ const struct cmd { { "scan", NEXTARG0, 0, setifscan }, { "broadcast", NEXTARG, 0, setifbroadaddr }, { "prefixlen", NEXTARG, 0, setifprefixlen}, + { "vnetid", NEXTARG, 0, setvnetid }, + { "-vnetid", 0, 0, delvnetid }, + { "parent", NEXTARG, 0, setifparent }, + { "-parent", 1, 0, delifparent }, { "vlan", NEXTARG, 0, setvlantag }, { "vlandev", NEXTARG, 0, setvlandev }, { "-vlandev", 1, 0, unsetvlandev }, @@ -428,10 +432,6 @@ const struct cmd { { "deletetunnel", 0, 0, deletetunnel } , { "tunneldomain", NEXTARG, 0, settunnelinst } , { "tunnelttl", NEXTARG, 0, settunnelttl } , - { "vnetid", NEXTARG, 0, setvnetid }, - { "-vnetid", 0, 0, delvnetid }, - { "parent", NEXTARG, 0, setifparent }, - { "-parent", 1, 0, delifparent }, { "pppoedev", NEXTARG, 0, setpppoe_dev }, { "pppoesvc", NEXTARG, 0, setpppoe_svc }, { "-pppoesvc", 1, 0, setpppoe_svc }, |