Skip to contentSkip to conversation

ver_linux: Print iputils version

PATCH New Petr Vorel 2 participants 2 messages Jul 19, 2017 – Jul 27, 2017

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 ver_linux: Print iputils version

+ align whitespace for printed iproute2 version

---
 ver_linux | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
ver_linux +4 -1
index a403b4e43..dc49a4c2f 100755
@@ -63,7 +63,10 @@ ifconfig --version 2>&1 | grep tools | awk \
 'NR==1{print "Net-tools             ", $NF}'
 
 ip -V 2>&1 | awk \
-'NR==1{print "iproute2             ", $NF}'
+'NR==1{print "iproute2              ", $NF}'
+
+ping -V 2>&1 | awk \
+'NR==1{print "iputils               ", $NF}'
 
 # Kbd needs 'loadkeys -h',
 loadkeys -h 2>&1 | awk \
Signature · 1 line
2.13.2