Index: head/net/isboot-kmod/Makefile =================================================================== --- head/net/isboot-kmod/Makefile (revision 414705) +++ head/net/isboot-kmod/Makefile (revision 414706) @@ -1,28 +1,29 @@ # $FreeBSD$ PORTNAME= isboot-kmod PORTVERSION= 0.2.13 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.peach.ne.jp/archives/isboot/ DISTNAME= isboot-${PORTVERSION} MAINTAINER= john@jnielsen.net COMMENT= Kernel module enabling iSCSI boot LICENSE= BSD2CLAUSE USES= kmod uidfix SUB_FILES= pkg-message WRKSRC_SUBDIR= src PLIST_FILES= ${KMODDIR}/isboot.ko PORTDOCS= README OPTIONS_DEFINE= DOCS VIMAGE VIMAGE_DESC= Build for a kernel with 'options VIMAGE' VIMAGE_CFLAGS= -DVIMAGE post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKDIR}/${DISTNAME} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/net/isboot-kmod/files/patch-isboot.c =================================================================== --- head/net/isboot-kmod/files/patch-isboot.c (nonexistent) +++ head/net/isboot-kmod/files/patch-isboot.c (revision 414706) @@ -0,0 +1,50 @@ +--- isboot.c.orig 2015-11-05 16:50:51 UTC ++++ isboot.c +@@ -347,9 +347,9 @@ isboot_set_v4gw(struct sockaddr_in *gate + netmask.sin_addr.s_addr = htonl(0); + + /* delete gateway if exists */ +- error = rtrequest(RTM_DELETE, (struct sockaddr *)&dst, ++ error = rtrequest_fib(RTM_DELETE, (struct sockaddr *)&dst, + (struct sockaddr *)gateway, (struct sockaddr *)&netmask, +- 0, NULL); ++ 0, NULL, RT_DEFAULT_FIB); + if (error) { + if (error != ESRCH) { + printf("rtrequest RTM_DELETE error %d\n", +@@ -359,9 +359,9 @@ isboot_set_v4gw(struct sockaddr_in *gate + } + + /* set new default gateway */ +- error = rtrequest(RTM_ADD, (struct sockaddr *)&dst, ++ error = rtrequest_fib(RTM_ADD, (struct sockaddr *)&dst, + (struct sockaddr *)gateway, (struct sockaddr *)&netmask, +- RTF_GATEWAY | RTF_STATIC, NULL); ++ RTF_GATEWAY | RTF_STATIC, NULL, RT_DEFAULT_FIB); + if (error) { + printf("rtrequest RTM_ADD error %d\n", error); + return (error); +@@ -391,9 +391,9 @@ isboot_set_v6gw(struct sockaddr_in6 *gat + memset(&netmask.sin6_addr, 0, 16); + + /* delete gateway if exists */ +- error = rtrequest(RTM_DELETE, (struct sockaddr *)&dst, ++ error = rtrequest_fib(RTM_DELETE, (struct sockaddr *)&dst, + (struct sockaddr *)gateway, (struct sockaddr *)&netmask, +- 0, NULL); ++ 0, NULL, RT_DEFAULT_FIB); + if (error) { + if (error != ESRCH) { + printf("rtrequest RTM_DELETE error %d\n", +@@ -403,9 +403,9 @@ isboot_set_v6gw(struct sockaddr_in6 *gat + } + + /* set new default gateway */ +- error = rtrequest(RTM_ADD, (struct sockaddr *)&dst, ++ error = rtrequest_fib(RTM_ADD, (struct sockaddr *)&dst, + (struct sockaddr *)gateway, (struct sockaddr *)&netmask, +- RTF_GATEWAY | RTF_STATIC, NULL); ++ RTF_GATEWAY | RTF_STATIC, NULL, RT_DEFAULT_FIB); + if (error) { + printf("rtrequest RTM_ADD error %d\n", error); + return (error); Property changes on: head/net/isboot-kmod/files/patch-isboot.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property