From 8115934adfe6e8559ca1ada4a29eccb1d7bad326 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 9 Oct 2011 07:05:08 -0700 Subject: [PATCH] More alternate-specification fixes. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Misc.pm | 2 +- docs/configuration_file_basics.xml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Misc.pm b/Shorewall/Perl/Shorewall/Misc.pm index b7dd639ce..ee8036d21 100644 --- a/Shorewall/Perl/Shorewall/Misc.pm +++ b/Shorewall/Perl/Shorewall/Misc.pm @@ -360,7 +360,7 @@ sub process_routestopped() { while ( read_a_line ) { my ($interface, $hosts, $options , $proto, $ports, $sports ) = - split_line 'routestopped file', { interface => 1, hosts => 2, options => 3, proto => 4, dport => 5, sport => 6 }; + split_line 'routestopped file', { interface => 0, hosts => 1, options => 2, proto => 3, dport => 4, sport => 5 }; my $interfaceref; diff --git a/docs/configuration_file_basics.xml b/docs/configuration_file_basics.xml index af1f1c203..5c2dbba9b 100644 --- a/docs/configuration_file_basics.xml +++ b/docs/configuration_file_basics.xml @@ -645,6 +645,12 @@ ACCEPT net:\ source,dest,provider,priority + + routes + + provider,dest,gateway,device + + routestopped