diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-01-16 10:33:56 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-01-16 10:33:56 +0000 |
commit | 269abdb3e0e6fea77ac88f998e996faaed3b0c09 (patch) | |
tree | aca4f25ed044c7376be70921170f4c03e10c7f24 /sbin/ifconfig/ifconfig.c | |
parent | 37c0aba99ae2bcea45bbba1cb859aff8933ba827 (diff) |
Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsip
of IFF* flags.
inputs from jmc@, ok bluhm@, visa@
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 29dc5bb25f6..4a0f4d632d2 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.352 2018/01/09 10:02:02 mpi Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.353 2018/01/16 10:33:55 mpi Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -397,6 +397,8 @@ const struct cmd { { "rtlabel", NEXTARG, 0, setifrtlabel }, { "-rtlabel", -1, 0, setifrtlabel }, { "rdomain", NEXTARG, 0, setrdomain }, + { "staticarp", IFF_STATICARP, 0, setifflags }, + { "-staticarp", -IFF_STATICARP, 0, setifflags }, { "mpls", IFXF_MPLS, 0, setifxflags }, { "-mpls", -IFXF_MPLS, 0, setifxflags }, { "mplslabel", NEXTARG, 0, setmpelabel }, |