summaryrefslogtreecommitdiff
path: root/sys/nfsclient/bootp_subr.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2008-05-09 23:03:00 +0000
committerJulian Elischer <julian@FreeBSD.org>2008-05-09 23:03:00 +0000
commit8b07e49a008c89a15e1fc4a1e3db6d945f81fab4 (patch)
tree1bc85679564ad62b5790f35580ebdcc21ca90f8b /sys/nfsclient/bootp_subr.c
parenta15370c6aa962e0030c1ae024292d76c112d6ea2 (diff)
Notes
Diffstat (limited to 'sys/nfsclient/bootp_subr.c')
-rw-r--r--sys/nfsclient/bootp_subr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index 44d4d970181c..a2c09c5e576d 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -1137,11 +1137,12 @@ bootpc_adjust_interface(struct bootpc_ifcontext *ifctx,
if (ifctx->gotgw != 0 || gctx->gotgw == 0) {
clear_sinaddr(&defdst);
clear_sinaddr(&defmask);
- error = rtrequest(RTM_ADD,
+ /* XXX MRT just table 0 */
+ error = rtrequest_fib(RTM_ADD,
(struct sockaddr *) &defdst,
(struct sockaddr *) gw,
(struct sockaddr *) &defmask,
- (RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL);
+ (RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL, 0);
if (error != 0) {
printf("bootpc_adjust_interface: "
"add net route, error=%d\n", error);