Author: melifaro
Date: Sat Jan  9 18:42:12 2016
New Revision: 293611
URL: https://svnweb.freebsd.org/changeset/base/293611

Log:
  Fix userland build broken by r293470.
  
  Pointy hat to:        melifaro

Modified:
  head/sys/net/route.h

Modified: head/sys/net/route.h
==============================================================================
--- head/sys/net/route.h        Sat Jan  9 18:40:20 2016        (r293610)
+++ head/sys/net/route.h        Sat Jan  9 18:42:12 2016        (r293611)
@@ -219,6 +219,7 @@ fib_rte_to_nh_flags(int rt_flags)
        return (res);
 }
 
+#ifdef _KERNEL
 /* rte<>ro_flags translation */
 static inline void
 rt_update_ro_flags(struct route *ro)
@@ -231,6 +232,7 @@ rt_update_ro_flags(struct route *ro)
        ro->ro_flags |= (rt_flags & RTF_BLACKHOLE) ? RT_BLACKHOLE : 0;
        ro->ro_flags |= (rt_flags & RTF_GATEWAY) ? RT_HAS_GW : 0;
 }
+#endif
 
 /*
  * Routing statistics.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to