diff options
author | bouyer <bouyer> | 1999-09-17 17:30:30 +0000 |
---|---|---|
committer | bouyer <bouyer> | 1999-09-17 17:30:30 +0000 |
commit | 478957646677f381e15a7d1ac14c281c116ee47e (patch) | |
tree | 71be3d66e608a3a3a66810dce8508850870607ea | |
parent | 225a93780ef11d97c901b161367fdcc1110f5038 (diff) | |
download | pkgsrc-478957646677f381e15a7d1ac14c281c116ee47e.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).
-rw-r--r-- | net/netatalk/patches/patch-be | 18 |
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 ) { + |