[12/16] batman-adv: Change ifconfig examples to iproute2

Message ID 1452345621-15908-13-git-send-email-a@unstable.cc (mailing list archive)
State Not Applicable, archived

Commit Message

Antonio Quartulli Jan. 9, 2016, 1:20 p.m. UTC
  From: Sven Eckelmann <sven@narfation.org>

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
 Documentation/networking/batman-adv.txt | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)


diff --git a/Documentation/networking/batman-adv.txt b/Documentation/networking/batman-adv.txt
index 58e49042fc20..ff23b755f5e4 100644
--- a/Documentation/networking/batman-adv.txt
+++ b/Documentation/networking/batman-adv.txt
@@ -115,14 +115,17 @@  The "bat0" interface can be used like any  other  regular  inter-
 face.  It needs an IP address which can be either statically con-
 figured or dynamically (by using DHCP or similar services):
-# NodeA: ifconfig bat0
-# NodeB: ifconfig bat0
+# NodeA: ip link set up dev bat0
+# NodeA: ip addr add dev bat0
+# NodeB: ip link set up dev bat0
+# NodeB: ip addr add dev bat0
 # NodeB: ping
 Note:  In  order to avoid problems remove all IP addresses previ-
 ously assigned to interfaces now used by batman advanced, e.g.
-# ifconfig eth0
+# ip addr flush dev eth0