From 11ec45c104db1b0a9eb62ce74280aa1814ef5176 Mon Sep 17 00:00:00 2001
From: Martin Gignac <martin.gignac@gmail.com>
Date: Tue, 17 Sep 2013 08:36:46 -0400
Subject: [PATCH] Replace some calls for 'netstat' and 'arp' with the 'iproute'
 binaries

---
 Shorewall-core/lib.cli | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli
index 68d9177..91f17f3 100644
--- a/Shorewall-core/lib.cli
+++ b/Shorewall-core/lib.cli
@@ -1503,7 +1503,7 @@ do_dump_command() {
 
     if [ $g_family -eq 4 ]; then
 	heading "ARP"
-	arp -na
+	ip -4 neigh ls
     else
 	heading "Neighbors"
 	ip -6 neigh ls
@@ -1525,11 +1525,7 @@ do_dump_command() {
 
     echo
 
-    if qt netstat -4; then
-	netstat -${g_family}tunap
-    else
-	netstat -tunap
-    fi
+    ss -${g_family}tunap
 
     if [ -n "$TC_ENABLED" ]; then
 	heading "Traffic Control"
-- 
1.8.4

