+ * udptunnel-reconf understands forbid_remote set to `-'.
* udptunnel-reconf default script pauses for 10s between restarts.
* udptunnel-reconf inittab entries default to having </dev/null.
* udptunnel-reconf default script pauses for 10s between restarts.
* udptunnel-reconf inittab entries default to having </dev/null.
+ * udptunnel-reconf understands forbid_remote set to `-'.
* www-cgi passes HTTP_COOKIE header.
--
* www-cgi passes HTTP_COOKIE header.
--
# along with userv-utils; if not, write to the Free Software
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# along with userv-utils; if not, write to the Free Software
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# $Id: udptunnel-reconf.pl,v 1.2 2000/12/11 02:41:27 ian Exp $
+# $Id: udptunnel-reconf.pl,v 1.3 2001/09/26 00:12:14 ian Exp $
$forbid_remote= var_global('forbid_remote');
@forbid_remote= ();
$forbid_remote= var_global('forbid_remote');
@forbid_remote= ();
-foreach $r (split /[, \t]+/, $forbid_remote) {
- push @forbid_remote, [ parse_addr_mask($r) ];
+if ($forbid_remote ne '-') {
+ foreach $r (split /[, \t]+/, $forbid_remote) {
+ push @forbid_remote, [ parse_addr_mask($r) ];
+ }
}
sub ipif_permit ($$$$) {
}
sub ipif_permit ($$$$) {