aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-04-05 02:23:48 +0000
committerBrian Somers <brian@FreeBSD.org>2001-04-05 02:23:48 +0000
commit03a2501aa5ebb0bdbe7a996c1fd7842bae7844ec (patch)
treeabada73f4f4e5f13e0bd098865ce8d18c844f840 /usr.sbin/ppp/command.c
parent6822f9df3f09e39ccd3a15df870d1f449a3bf195 (diff)
Notes
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c4
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);
}