summaryrefslogtreecommitdiff
path: root/net/netatalk
diff options
context:
space:
mode:
authorbouyer <bouyer>1999-09-17 17:30:30 +0000
committerbouyer <bouyer>1999-09-17 17:30:30 +0000
commit204b875b2188c3680005e99262cbc8f8f9cf6bfc (patch)
tree71be3d66e608a3a3a66810dce8508850870607ea /net/netatalk
parent365f2c7add09b9084496b16f763ccf7e4df5e4b2 (diff)
downloadpkgsrc-204b875b2188c3680005e99262cbc8f8f9cf6bfc.tar.gz
Patch from Juergen Hannken-Illjes, which should solve PR#8308 (net 0 is
reserved for lo0, it can't be used on other interfaces).
Diffstat (limited to 'net/netatalk')
-rw-r--r--net/netatalk/patches/patch-be18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/netatalk/patches/patch-be b/net/netatalk/patches/patch-be
new file mode 100644
index 00000000000..674e9dc72e1
--- /dev/null
+++ b/net/netatalk/patches/patch-be
@@ -0,0 +1,18 @@
+$NetBSD: patch-be,v 1.1 1999/09/17 17:30:30 bouyer Exp $
+
+--- etc/atalkd/main.c.orig Sun Oct 5 17:50:47 1997
++++ etc/atalkd/main.c Tue Aug 31 15:58:11 1999
+@@ -191,10 +191,10 @@
+ syslog( LOG_INFO, "config for no router" );
+ if ( iface->i_flags & IFACE_PHASE2 ) {
+- iface->i_rt->rt_firstnet = 0;
++ iface->i_rt->rt_firstnet = htons( 1 );
+ iface->i_rt->rt_lastnet = htons( STARTUP_LASTNET );
+ setaddr( iface, IFACE_PHASE2,
+ iface->i_addr.sat_addr.s_net,
+ iface->i_addr.sat_addr.s_node,
+- 0, htons( STARTUP_LASTNET ));
++ htons( 1 ), htons( STARTUP_LASTNET ));
+ }
+ if ( looproute( iface, RTMP_ADD ) < 0 ) {
+