summaryrefslogtreecommitdiff
path: root/net/netatalk-asun/patches/patch-ai
blob: 9df626de9fc43dc7b7f28e25cd3bde5b44c902a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ai,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,