On Sunday 17 July 2011 00:44:35 Tom Eastep wrote: > Additional testing has uncovered some issues. Attached are three patches > which should be applied in this order: > > STRUCTURE.patch > DHCP.patch > COMMANDS.patch > > -Tom
Tom STRUCTURE.patch has applied successfully. DHCP.patch 1 hunk failed. I have attached a copy of Misc.pm.rej and the corresponding part from Misc.pm. Steven.
--- Misc.pm
+++ Misc.pm
@@ -706,11 +706,11 @@
for $interface ( @$list ) {
set_interface_option $interface, 'use_input_chain', 1;
set_interface_option $interface, 'use_forward_chain', 1;
-
- for $chain ( input_chain $interface, output_chain $interface ) {
- my $ruleref = add_rule $filter_table->{$chain} , "-p udp --dport $ports -j ACCEPT";
- set_rule_option( $ruleref, 'dhcp', 1 );
- }
+
+ set_rule_option( add_rule( $filter_table->{$_} ,
+ "-p udp --dport $ports -j ACCEPT" ) ,
+ 'dhcp',
+ 1 ) for input_chain( $interface ), output_chain( $interface );
add_rule( $filter_table->{forward_chain $interface} ,
"-p udp " .
Misc.pm
Description: application/perl-module
------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
