chiark / gitweb /
ipif/service-wrap: Remove spurious space from space-matching regexp. master
authorMark Wooding <mdw@distorted.org.uk>
Mon, 2 Oct 2017 00:14:26 +0000 (01:14 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 2 Oct 2017 00:14:26 +0000 (01:14 +0100)
You know, I'm not sure this code has been through a comprehensive test
suite.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
ipif/service-wrap

index 8dca1c3..2bca709 100755 (executable)
@@ -229,7 +229,7 @@ sub readconfig ($) {
                    my $net = $hn->network() or die;
                    maybe_allow_addrs 'Local', $host;
                    maybe_allow_addrs 'Remote', $net;
-               } elsif (s{^(local|remote|addrs)\s+(\S+)\ s+}{}) {
+               } elsif (s{^(local|remote|addrs)\s+(\S+)\s+}{}) {
                    my $h = $1;
                    my $s = new NetAddr::IP::Lite $2 or
                        badcfg "invalid ip address or mask in $h";