summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/nat_cmd.c
diff options
context:
space:
mode:
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 588ceab..6b036d9 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
OpenPOWER on IntegriCloud