svn commit: r290828 - head/sys/net

Alexander V. Chernikov melifaro at FreeBSD.org
Sat Nov 14 18:16:18 UTC 2015


Author: melifaro
Date: Sat Nov 14 18:16:17 2015
New Revision: 290828
URL: https://svnweb.freebsd.org/changeset/base/290828

Log:
  Pass provided af instead of AF_UNSPEC to setwa_f callback.

Modified:
  head/sys/net/route.c

Modified: head/sys/net/route.c
==============================================================================
--- head/sys/net/route.c	Sat Nov 14 17:32:38 2015	(r290827)
+++ head/sys/net/route.c	Sat Nov 14 18:16:17 2015	(r290828)
@@ -845,7 +845,7 @@ rt_foreach_fib_walk(int af, rt_setwarg_t
 			if (rnh == NULL)
 				continue;
 			if (setwa_f != NULL)
-				setwa_f(rnh, fibnum, AF_UNSPEC, arg);
+				setwa_f(rnh, fibnum, af, arg);
 
 			RADIX_NODE_HEAD_LOCK(rnh);
 			rnh->rnh_walktree(rnh, (walktree_f_t *)wa_f, arg);


More information about the svn-src-head mailing list