Dump rp_filter from all network interface
Fixes
Currently `aws-cni-support.sh` outputs rp_filter from `eth0`. Although
`eth0` is fixed value, some env have different name such as `ens5`.
This patch changes the script to dump rp_filter from all interface on
the host.
@@ -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
