On 9/30/2013 12:27 PM, Luca Camillo wrote:
> Thank you very much Tom for this solution but I have a problem with new 
> function set_comment during compilation
> 
> Checking /etc/shorewall/action.DNSR for chain DNSR...
>    ERROR: Undefined subroutine &Shorewall::User::set_comment called at 
> /etc/shorewall/action.DNSR line 22.
> 
> Naturally I patch the file /usr/share/shorewall/Shorewall/Config.pm
> 
> shorewall version: 4.5.18
> 
> After some search I found a stupid fix but I want you approve it!
> I add "use Shorewall::Config qw(:DEFAULT :internal);" after add_drop_rule 
> definition
> I can't test it now.. What do you think about it? 

With the patch, you should only need:

        use Shorewall::Config;

See

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to