aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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