summaryrefslogtreecommitdiff
path: root/net/netatalk
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>1999-09-17 17:30:30 +0000
committerbouyer <bouyer@pkgsrc.org>1999-09-17 17:30:30 +0000
commitfacbcb2811783a80b1bee83dae4498433d55b1ba (patch)
tree71be3d66e608a3a3a66810dce8508850870607ea /net/netatalk
parent86357f9bc203bd5167b7b2ecbe49e6d1c79782cf (diff)
downloadpkgsrc-facbcb2811783a80b1bee83dae4498433d55b1ba.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 ) {
+