summaryrefslogtreecommitdiff
path: root/kernel-9.0/freebsd-route-messages-in-c.patch
blob: 309e48543c0f3866636d075200ad5d39afa7acb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- sys/netinet/in.c.orig	2009-09-28 23:45:49.000000000 +0000
+++ sys/netinet/in.c	2009-09-28 23:46:35.000000000 +0000
@@ -1012,5 +1012,5 @@
 					rt_newaddrmsg(RTM_ADD, 
 						      (struct ifaddr *)target,
-						      0, &msg_rt);
+						      0, &msg_rt, -1);
 					RTFREE(pfx_ro.ro_rt);
 				}
@@ -1073,5 +1073,5 @@
 		rt_newaddrmsg(RTM_DELETE, 
 			      (struct ifaddr *)target,
-			      0, &rt);
+			      0, &rt, -1);
 		return (0);
 	}