Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net consistency; use tokenbroadcastaddr, not ether*.



details:   https://anonhg.NetBSD.org/src/rev/c0d485af6bd4
branches:  trunk
changeset: 546519:c0d485af6bd4
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu May 01 02:34:20 2003 +0000

description:
consistency; use tokenbroadcastaddr, not ether*.

diffstat:

 sys/net/if_tokensubr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 38b21472ac6f -r c0d485af6bd4 sys/net/if_tokensubr.c
--- a/sys/net/if_tokensubr.c    Thu May 01 02:11:01 2003 +0000
+++ b/sys/net/if_tokensubr.c    Thu May 01 02:34:20 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tokensubr.c,v 1.19 2001/11/12 23:49:45 lukem Exp $  */
+/*     $NetBSD: if_tokensubr.c,v 1.20 2003/05/01 02:34:20 itojun Exp $ */
 
 /*
  * Copyright (c) 1997-1999
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.19 2001/11/12 23:49:45 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tokensubr.c,v 1.20 2003/05/01 02:34:20 itojun Exp $");
 
 #include "opt_inet.h"
 #include "opt_atalk.h"
@@ -213,7 +213,7 @@
                                rif = &bcastrif;
                                riflen = sizeof(rif->tr_rcf);
                        }
-                       bcopy((caddr_t)etherbroadcastaddr, (caddr_t)edst,
+                       bcopy((caddr_t)tokenbroadcastaddr, (caddr_t)edst,
                            sizeof(edst));
                }
 /*
@@ -258,7 +258,7 @@
                                rif = &bcastrif;
                                riflen = sizeof(rif->tr_rcf);
                        }
-                       bcopy((caddr_t)etherbroadcastaddr, (caddr_t)edst,
+                       bcopy((caddr_t)tokenbroadcastaddr, (caddr_t)edst,
                            sizeof(edst));
                }
                else {



Home | Main Index | Thread Index | Old Index