From 4ca177e96ab09ab4c67c0189f397112780719492 Mon Sep 17 00:00:00 2001 From: Ryan Navaroli Date: Wed, 2 Oct 2024 10:10:59 -0400 Subject: [PATCH] in the inspect report, the commands 'ip addr' and 'ip route' were both being written to the file 'ip-addr'. The 'ip route' command was run second so the result was A) a misleading output in the ip-addr file actually being from 'ip-route' and missing the output from 'ip-addr'. --- scripts/inspect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/inspect.sh b/scripts/inspect.sh index b4c4760e40..bb30fcf09e 100755 --- a/scripts/inspect.sh +++ b/scripts/inspect.sh @@ -77,7 +77,7 @@ function store_network { printf -- ' Copy network configuration to the final report tarball\n' mkdir -p $INSPECT_DUMP/network ip addr &> $INSPECT_DUMP/network/ip-addr - ip route &> $INSPECT_DUMP/network/ip-addr + ip route &> $INSPECT_DUMP/network/ip-route iptables -t nat -L -n -v &> $INSPECT_DUMP/network/iptables iptables -S &> $INSPECT_DUMP/network/iptables-S iptables -L &> $INSPECT_DUMP/network/iptables-L