Commit 2a898320 authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by Stephen Hemminger

ip: update mand pages and usage() for 'ip mroute'

Sync with the current code.
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
parent 195f0f62
......@@ -36,6 +36,8 @@ static void usage(void) __attribute__((noreturn));
static void usage(void)
{
fprintf(stderr, "Usage: ip mroute show [ PREFIX ] [ from PREFIX ] [ iif DEVICE ]\n");
fprintf(stderr, " [ table TABLE_ID ]\n");
fprintf(stderr, "TABLE_ID := [ local | main | default | all | NUMBER ]\n");
#if 0
fprintf(stderr, "Usage: ip mroute [ add | del ] DESTINATION from SOURCE [ iif DEVICE ] [ oif DEVICE ]\n");
#endif
......
.TH IP\-MROUTE 8 "20 Dec 2011" "iproute2" "Linux"
.TH IP\-MROUTE 8 "13 Dec 2012" "iproute2" "Linux"
.SH "NAME"
ip-mroute \- multicast routing cache management
.SH "SYNOPSIS"
......@@ -6,12 +6,15 @@ ip-mroute \- multicast routing cache management
.ad l
.in +8
.ti -8
.BR "ip mroute show" " ["
.BR "ip " " [ ip-OPTIONS ] " "mroute show" " [ [ "
.BR " to " " ] "
.IR PREFIX " ] [ "
.B from
.IR PREFIX " ] [ "
.B iif
.IR DEVICE " ]"
.IR DEVICE " ] [ "
.B table
.IR TABLE_ID " ] "
.SH DESCRIPTION
.B mroute
......@@ -42,6 +45,11 @@ the interface on which multicast packets are received.
.BI from " PREFIX"
the prefix selecting the IP source addresses of the multicast route.
.TP
.BI table " TABLE_ID"
the table id selecting the multicast table. It can be
.BR local ", " main ", " default ", " all " or a number."
.SH SEE ALSO
.br
.BR ip (8)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment