[Zrouter-src-freebsd] ZRouter.org: push to FreeBSD HEAD tree

zrouter-src-freebsd at zrouter.org zrouter-src-freebsd at zrouter.org
Fri Mar 2 15:40:05 UTC 2012


details:   http://zrouter.org/hg/FreeBSD/head//rev/85c6a1e7c0b3
changeset: 401:85c6a1e7c0b3
user:      ray at terran.dlink.ua
date:      Fri Mar 02 17:17:27 2012 +0200
description:
Update to FreeBSD-HEAD @232391

diffstat:

 head/sys/nfs/bootp_subr.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r ed7f507b4343 -r 85c6a1e7c0b3 head/sys/nfs/bootp_subr.c
--- a/head/sys/nfs/bootp_subr.c	Fri Mar 02 17:17:17 2012 +0200
+++ b/head/sys/nfs/bootp_subr.c	Fri Mar 02 17:17:27 2012 +0200
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/sys/nfs/bootp_subr.c 228455 2011-12-13 07:02:48Z glebius $");
+__FBSDID("$FreeBSD: head/sys/nfs/bootp_subr.c 231852 2012-02-17 02:39:58Z bz $");
 
 #include "opt_bootp.h"
 #include "opt_nfs.h"
@@ -1046,10 +1046,9 @@
 		clear_sinaddr(&defmask);
 		/* 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, 0);
+		    (struct sockaddr *) &defdst, (struct sockaddr *) gw,
+		    (struct sockaddr *) &defmask,
+		    (RTF_UP | RTF_GATEWAY | RTF_STATIC), NULL, RT_DEFAULT_FIB);
 		if (error != 0) {
 			printf("%s: RTM_ADD, error=%d\n", __func__, error);
 			return (error);


More information about the Zrouter-src-freebsd mailing list