Skip to content

Commit

Permalink
Merge pull request #338 from nak3/dump-sysctl
Browse files Browse the repository at this point in the history
Collect rp_filter from all network interface in aws-cni-support.sh
  • Loading branch information
mogren authored Mar 5, 2019
2 parents d40649e + 887ea36 commit f2d6007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aws-cni-support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ip route show table all >> $LOG_DIR/$ROUTE_OUTPUT

# dump relevant sysctls
echo "================== sysctls ==================" > ${LOG_DIR}/sysctls.out
for f in /proc/sys/net/ipv4/conf/{all,default,eth0}/rp_filter; do
for f in /proc/sys/net/ipv4/conf/*/rp_filter; do
echo "$f = $(cat $f)" >> ${LOG_DIR}/sysctls.out
done

Expand Down

0 comments on commit f2d6007

Please sign in to comment.