aboutsummaryrefslogtreecommitdiffstats
path: root/ip/ip.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2008-02-14 03:20:12 +1100
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-13 12:36:57 -0800
commit4759758c05b3bda53b743a1c3238f1479bb61b43 (patch)
treec5fd5621f0615e3f1c20f1991154eb65fb8b9e9f /ip/ip.c
parente9acc2420c561a6f875d188de1028facbd09c5a8 (diff)
downloadplatform_external_iproute2-4759758c05b3bda53b743a1c3238f1479bb61b43.tar.gz
platform_external_iproute2-4759758c05b3bda53b743a1c3238f1479bb61b43.tar.bz2
platform_external_iproute2-4759758c05b3bda53b743a1c3238f1479bb61b43.zip
Add addrlabel sub-command.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Diffstat (limited to 'ip/ip.c')
-rw-r--r--ip/ip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ip/ip.c b/ip/ip.c
index aeb8c68c..c4c773fb 100644
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -46,8 +46,8 @@ static void usage(void)
fprintf(stderr,
"Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }\n"
" ip [ -force ] [-batch filename\n"
-"where OBJECT := { link | addr | route | rule | neigh | ntable | tunnel |\n"
-" maddr | mroute | monitor | xfrm }\n"
+"where OBJECT := { link | addr | addrlabel | route | rule | neigh | ntable |\n"
+" tunnel | maddr | mroute | monitor | xfrm }\n"
" OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n"
" -f[amily] { inet | inet6 | ipx | dnet | link } |\n"
" -o[neline] | -t[imestamp] }\n");
@@ -64,6 +64,7 @@ static const struct cmd {
int (*func)(int argc, char **argv);
} cmds[] = {
{ "address", do_ipaddr },
+ { "addrlabel", do_ipaddrlabel },
{ "maddress", do_multiaddr },
{ "route", do_iproute },
{ "rule", do_iprule },