diff options
Diffstat (limited to 'net/netatalk-asun/patches/patch-ah')
-rw-r--r-- | net/netatalk-asun/patches/patch-ah | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/net/netatalk-asun/patches/patch-ah b/net/netatalk-asun/patches/patch-ah index 2cae5858af6..13d3fa27878 100644 --- a/net/netatalk-asun/patches/patch-ah +++ b/net/netatalk-asun/patches/patch-ah @@ -1,19 +1,13 @@ -$NetBSD: patch-ah,v 1.3 2000/08/15 14:48:23 abs Exp $ +$NetBSD: patch-ah,v 1.4 2001/05/21 18:42:21 abs Exp $ ---- etc/atalkd/main.c.orig Mon Jan 25 09:21:13 1999 -+++ etc/atalkd/main.c -@@ -245,12 +245,12 @@ - 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 ) ) { /* -1 or 1 */ - syslog( LOG_ERR, +--- etc/atalkd/Makefile.orig Wed Jul 9 20:51:55 1997 ++++ etc/atalkd/Makefile +@@ -23,7 +23,7 @@ + ${CPPFLAGS} -c config.c + + install : all +- ${INSTALL} -c atalkd ${SBINDIR} ++ ${INSTALL} -c atalkd ${LIBEXECDIR} + + clean : + rm -f a.out core* *.o *.bak *[Ee]rrs tags |