summaryrefslogtreecommitdiffstats
path: root/lib/if.c
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-03-21 01:16:05 +0000
committerChris Hall <chris.hall@highwayman.com>2011-03-21 01:16:05 +0000
commit9470cb2c32eab220f796b1438b787528272cbe84 (patch)
treeb9b2cc12446173436d2bc7a32e82cc3378ec721e /lib/if.c
parent5cae7eea451f2b7d65b5892e2c1dafc70f8b836e (diff)
downloadquagga-6330e333c40614a3193058a9fa95ff1098c4af4c.tar.bz2
quagga-6330e333c40614a3193058a9fa95ff1098c4af4c.tar.xz
Upgrade of "pipework" -- including piping to/from shell commandsex11p
Version 0.99.15ex11p A major overhaul.
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/if.c b/lib/if.c
index 66a8bfef..21427e71 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -532,11 +532,12 @@ if_sunwzebra_get (const char *name, size_t nlen)
}
#endif /* SUNOS_5 */
-DEFUN (interface,
- interface_cmd,
- "interface IFNAME",
- "Select an interface to configure\n"
- "Interface's name\n")
+DEFUN_ATTR (interface,
+ interface_cmd,
+ "interface IFNAME",
+ "Select an interface to configure\n"
+ "Interface's name\n",
+ CMD_ATTR_NODE + INTERFACE_NODE)
{
struct interface *ifp;
size_t sl;