[svn-commits] fjoe: freebsd/trunk r10747 - /freebsd/trunk/bsd-kmod/dahdi/ng_dahdi_iface.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat May 10 03:12:02 CDT 2014


Author: fjoe
Date: Sat May 10 03:11:57 2014
New Revision: 10747

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10747
Log:
Unbreak on FreeBSD 11 (no AppleTalk and IPX support).

Modified:
    freebsd/trunk/bsd-kmod/dahdi/ng_dahdi_iface.c

Modified: freebsd/trunk/bsd-kmod/dahdi/ng_dahdi_iface.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/bsd-kmod/dahdi/ng_dahdi_iface.c?view=diff&rev=10747&r1=10746&r2=10747
==============================================================================
--- freebsd/trunk/bsd-kmod/dahdi/ng_dahdi_iface.c (original)
+++ freebsd/trunk/bsd-kmod/dahdi/ng_dahdi_iface.c Sat May 10 03:11:57 2014
@@ -281,10 +281,14 @@
 	/* connect other hooks */
 	dahdi_iface_connect_node_path(node, DAHDI_IFACE_HOOK_UPPER,
 	    NG_CISCO_HOOK_INET, NG_CISCO_HOOK_INET6, NG_IFACE_HOOK_INET6);
+#if __FreeBSD_version < 1100013
 	dahdi_iface_connect_node_path(node, DAHDI_IFACE_HOOK_UPPER,
 	    NG_CISCO_HOOK_INET, NG_CISCO_HOOK_APPLETALK, NG_IFACE_HOOK_ATALK);
+#endif
+#if __FreeBSD_version < 1100012
 	dahdi_iface_connect_node_path(node, DAHDI_IFACE_HOOK_UPPER,
 	    NG_CISCO_HOOK_INET, NG_CISCO_HOOK_IPX, NG_IFACE_HOOK_IPX);
+#endif
 
 	/* get iface name */
 	NG_MKMESSAGE(msg, NGM_IFACE_COOKIE, NGM_IFACE_GET_IFNAME, 0, M_WAITOK);




More information about the svn-commits mailing list