Some scenarios disable route installation and if they are executed before
any scenarios that don't, there won't be a rule for table 220 and we get
"FIB table does not exist" errors.
# collect networking output
if [ -n "$IPV4" ]
then
- { ip route list table $ROUTING_TABLE; echo; } >> ${OUTPUT_DIR}/${NAME}.ip.route
+ { ip route list table $ROUTING_TABLE; echo; } >> ${OUTPUT_DIR}/${NAME}.ip.route 2>/dev/null
{ iptables-save; echo; } >> ${OUTPUT_DIR}/${NAME}.iptables-save
{
echo -e '=== filter table ==='
if [ -n "$IPV6" ]
then
- ip -6 route list table $ROUTING_TABLE >> ${OUTPUT_DIR}/${NAME}.ip.route
+ ip -6 route list table $ROUTING_TABLE >> ${OUTPUT_DIR}/${NAME}.ip.route 2>/dev/null
ip6tables-save >> ${OUTPUT_DIR}/${NAME}.iptables-save
{
echo -e '=== filter table ==='