naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

Blame SOURCES/0111-man-ip-l2tp.8-Fix-BNF-syntax.patch

049c96
From 0fc679a36a881de486a86d16b847c8ded58ca765 Mon Sep 17 00:00:00 2001
049c96
From: Phil Sutter <psutter@redhat.com>
049c96
Date: Mon, 7 Mar 2016 20:44:42 +0100
049c96
Subject: [PATCH] man: ip-l2tp.8: Fix BNF syntax
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1251186
049c96
Upstream Status: iproute2.git commit 2227f2a5a28fa
049c96
049c96
commit 2227f2a5a28fa0fc3cc4257ccc9528cdc81996ac
049c96
Author: Phil Sutter <phil@nwl.cc>
049c96
Date:   Wed Mar 2 19:20:07 2016 +0100
049c96
049c96
    man: ip-l2tp.8: Fix BNF syntax
049c96
049c96
    The 'ADDR' part of 'local' and 'remote' parameters is not optional, but
049c96
    may also consist of the word 'any'. While at it, add missing whitespace
049c96
    and fix fonts.
049c96
049c96
    Signed-off-by: Phil Sutter <phil@nwl.cc>
049c96
---
049c96
 man/man8/ip-l2tp.8 | 24 +++++++++---------------
049c96
 1 file changed, 9 insertions(+), 15 deletions(-)
049c96
049c96
diff --git a/man/man8/ip-l2tp.8 b/man/man8/ip-l2tp.8
049c96
index 2efda9f..9bc9116 100644
049c96
--- a/man/man8/ip-l2tp.8
049c96
+++ b/man/man8/ip-l2tp.8
049c96
@@ -15,10 +15,7 @@ ip-l2tp - L2TPv3 static unmanaged tunnel configuration
049c96
 .ti -8
049c96
 .BR "ip l2tp add tunnel"
049c96
 .br
049c96
-.B remote
049c96
-.RI "[ " ADDR " ]"
049c96
-.B local
049c96
-.RI "[ " ADDR " ]"
049c96
+.BI remote " ADDR " local " ADDR "
049c96
 .br
049c96
 .B tunnel_id
049c96
 .IR ID
049c96
@@ -73,24 +70,21 @@ ip-l2tp - L2TPv3 static unmanaged tunnel configuration
049c96
 .IR ID
049c96
 .br
049c96
 .ti -8
049c96
-.BR "ip l2tp show tunnel"
049c96
-.B "[" tunnel_id
049c96
-.IR ID
049c96
-.B "]"
049c96
+.BR "ip l2tp show tunnel" " [ " tunnel_id
049c96
+.IR ID " ]"
049c96
 .br
049c96
 .ti -8
049c96
-.BR "ip l2tp show session"
049c96
-.B "[" tunnel_id
049c96
-.IR ID
049c96
-.B "] [" session_id
049c96
-.IR ID
049c96
-.B "]"
049c96
+.BR "ip l2tp show session" " [ " tunnel_id
049c96
+.IR ID .B " ] ["
049c96
+.B session_id
049c96
+.IR ID " ]"
049c96
 .br
049c96
 .ti -8
049c96
 .IR NAME " := "
049c96
 .IR STRING
049c96
 .ti -8
049c96
-.IR ADDR " := { " IP_ADDRESS " }"
049c96
+.IR ADDR " := { " IP_ADDRESS " |"
049c96
+.BR any " }"
049c96
 .ti -8
049c96
 .IR PORT " := { " NUMBER " }"
049c96
 .ti -8
049c96
-- 
049c96
1.8.3.1
049c96