aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/nat_cmd.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-01-28 21:56:27 +0000
committerBrian Somers <brian@FreeBSD.org>2001-01-28 21:56:27 +0000
commit021996f1779aa182d6b7e457a86e0b9b88d22b9a (patch)
tree472b73542a4112b61660f7b7c736137bc19924d9 /usr.sbin/ppp/nat_cmd.c
parentf169f2f02076be4e42f51c62f3d09d0e319cc900 (diff)
downloadsrc-021996f1779aa182d6b7e457a86e0b9b88d22b9a.tar.gz
src-021996f1779aa182d6b7e457a86e0b9b88d22b9a.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/nat_cmd.c')
-rw-r--r--usr.sbin/ppp/nat_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/nat_cmd.c b/usr.sbin/ppp/nat_cmd.c
index 588ceabab4f4..6b036d9f91c7 100644
--- a/usr.sbin/ppp/nat_cmd.c
+++ b/usr.sbin/ppp/nat_cmd.c
@@ -312,7 +312,7 @@ nat_ProxyRule(struct cmdargs const *arg)
pos += len;
}
- return PacketAliasProxyRule(cmd);
+ return PacketAliasProxyRule(cmd + strspn(cmd, " \t"));
}
int