diff options
| author | Brian Somers <brian@FreeBSD.org> | 2001-04-05 02:23:48 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2001-04-05 02:23:48 +0000 |
| commit | 03a2501aa5ebb0bdbe7a996c1fd7842bae7844ec (patch) | |
| tree | abada73f4f4e5f13e0bd098865ce8d18c844f840 /usr.sbin/ppp/command.c | |
| parent | 6822f9df3f09e39ccd3a15df870d1f449a3bf195 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/ppp/command.c')
| -rw-r--r-- | usr.sbin/ppp/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index fb36f19eb85a..970ff1cc68e6 100644 --- a/usr.sbin/ppp/command.c +++ b/usr.sbin/ppp/command.c @@ -2181,7 +2181,7 @@ AddCommand(struct cmdargs const *arg) } } - if (bundle_SetRoute(arg->bundle, RTM_ADD, dest, gateway, netmask, + if (rt_Set(arg->bundle, RTM_ADD, dest, gateway, netmask, arg->cmd->args ? 1 : 0, (addrs & ROUTE_GWHISADDR) ? 1 : 0) && addrs != ROUTE_STATIC) route_Add(&arg->bundle->ncp.ipcp.route, addrs, dest, netmask, gateway); @@ -2222,7 +2222,7 @@ DeleteCommand(struct cmdargs const *arg) addrs = ROUTE_STATIC; } none.s_addr = INADDR_ANY; - bundle_SetRoute(arg->bundle, RTM_DELETE, dest, none, none, + rt_Set(arg->bundle, RTM_DELETE, dest, none, none, arg->cmd->args ? 1 : 0, 0); route_Delete(&arg->bundle->ncp.ipcp.route, addrs, dest); } |
