Module Name: src Committed By: is Date: Sat Jan 30 21:48:30 UTC 2010
Modified Files: src/sys/netatalk: at_control.c Log Message: Use the symbolic names. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/netatalk/at_control.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netatalk/at_control.c diff -u src/sys/netatalk/at_control.c:1.32 src/sys/netatalk/at_control.c:1.33 --- src/sys/netatalk/at_control.c:1.32 Sat Apr 18 14:58:05 2009 +++ src/sys/netatalk/at_control.c Sat Jan 30 21:48:30 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: at_control.c,v 1.32 2009/04/18 14:58:05 tsutsui Exp $ */ +/* $NetBSD: at_control.c,v 1.33 2010/01/30 21:48:30 is Exp $ */ /* * Copyright (c) 1990,1994 Regents of The University of Michigan. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: at_control.c,v 1.32 2009/04/18 14:58:05 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: at_control.c,v 1.33 2010/01/30 21:48:30 is Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -609,8 +609,8 @@ aa->aa_ifa.ifa_metric = ifp->if_metric; if (ifp->if_flags & IFF_BROADCAST) { - aa->aa_broadaddr.sat_addr.s_net = htons(0); - aa->aa_broadaddr.sat_addr.s_node = 0xff; + aa->aa_broadaddr.sat_addr.s_net = htons(ATADDR_ANYNET); + aa->aa_broadaddr.sat_addr.s_node = ATADDR_BCAST; aa->aa_ifa.ifa_broadaddr = (struct sockaddr *) &aa->aa_broadaddr; /* add the range of routes needed */