Re: [webmin-l] Shorewall module bug?

Nerijus Baliunas <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
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

Regards,
Nerijus

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
-
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
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.