Skip to content

Commit

Permalink
in the inspect report, the commands 'ip addr' and 'ip route' were bot…
Browse files Browse the repository at this point in the history
…h 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'.
  • Loading branch information
Ryan Navaroli committed Oct 2, 2024
1 parent ee4558a commit 4ca177e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/inspect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ca177e

Please sign in to comment.