chiark
/
gitweb
/
~mdw
/
userv-utils
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f8946d
)
ipif/service-wrap: Remove spurious space from space-matching regexp.
mdw/fixes
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 2 Oct 2017 00:14:26 +0000
(
01:14
+0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/ipif/service-wrap
b/ipif/service-wrap
index 8dca1c31bb1a7bcf455e832ed6399e340812d4e5..2bca709e9501619ee0db409df87a5c2527d4690c 100755
(executable)
--- a/
ipif/service-wrap
+++ b/
ipif/service-wrap
@@
-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";