Re: [webmin-l] Shorewall module bug?

Nerijus Baliunas <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
Hello,

it is still not fixed in 1.820. As my paste link expired, I am attaching masq file here.

Thanks,
Nerijus

On Tue, 10 May 2016 14:12:50 +0300 Nerijus Baliunas <[email protected]> wrote:

> On Mon, 09 May 2016 22:21:50 -0700 (PDT) Jamie Cameron <[email protected]> wrote:
> 
> > > The following patch helps:
> > > 
> > > diff -ur shorewall.orig/shorewall-lib.pl shorewall/shorewall-lib.pl
> > > --- shorewall.orig/shorewall-lib.pl     2016-03-07 21:08:10.000000000 +0200
> > > +++ shorewall/shorewall-lib.pl  2016-05-09 22:15:07.518066197 +0300
> > > @@ -1225,8 +1225,8 @@
> > >         $mode = 1;
> > >         }
> > >  else {
> > > -       $miface = $_[1];
> > > -       $mode = 1;
> > > +       $mnet = $_[1];
> > > +       $mode = 0;
> > >         }
> > >  print "<tr> <td valign=top><b>$text{'masq_1'}</b></td> <td colspan=3>\n";
> > >  printf "<input type=radio name=mode value=0 %s> %s\n",
> > 
> > I'm not sure if that patch will properly parse all possible lines.
> > 
> > Can you post your entire "masq" file as an attachment so I can see the 
> > format being used?
> 
> http://paste.fedoraproject.org/364583/14628787

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
masq (application/octet-stream, 967 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.