summaryrefslogtreecommitdiffstats
path: root/ip/xfrm_policy.c
diff options
context:
space:
mode:
authororg[shemminger]!nakam <org[shemminger]!nakam>2004-09-28 18:42:35 +0000
committerorg[shemminger]!nakam <org[shemminger]!nakam>2004-09-28 18:42:35 +0000
commitc70b36d231afba1700d6bb4ca1181fd9bb76c77b (patch)
treee33bad99ed7c19b0208b88b5b6a2727c9769d481 /ip/xfrm_policy.c
parent2f4675f71fa3b0684d9159d6dedfe92bed16a140 (diff)
[iproute2] XFRM: support ICMP/ICMPv6's type and code
(Logical change 1.85)
Diffstat (limited to 'ip/xfrm_policy.c')
-rw-r--r--ip/xfrm_policy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ip/xfrm_policy.c b/ip/xfrm_policy.c
index 8d6f8f97..fc17a645 100644
--- a/ip/xfrm_policy.c
+++ b/ip/xfrm_policy.c
@@ -62,7 +62,8 @@ static void usage(void)
fprintf(stderr, "SELECTOR := src ADDR[/PLEN] dst ADDR[/PLEN] [ UPSPEC ] [ dev DEV ]\n");
- fprintf(stderr, "UPSPEC := proto PROTO [ sport PORT ] [ dport PORT ]\n");
+ fprintf(stderr, "UPSPEC := proto PROTO [ [ sport PORT ] [ dport PORT ] |\n");
+ fprintf(stderr, " [ type NUMBER ] [ code NUMBER ] ]\n");
//fprintf(stderr, "DEV - device name(default=none)\n");