Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/rarpd Adapt to ar_tha() changes in if_arp.h rev1.31.



details:   https://anonhg.NetBSD.org/src/rev/f7786184be08
branches:  trunk
changeset: 829811:f7786184be08
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 13 10:17:04 2018 +0000

description:
Adapt to ar_tha() changes in if_arp.h rev1.31.

diffstat:

 usr.sbin/rarpd/rarpd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 46feb6acce4c -r f7786184be08 usr.sbin/rarpd/rarpd.c
--- a/usr.sbin/rarpd/rarpd.c    Tue Feb 13 10:05:05 2018 +0000
+++ b/usr.sbin/rarpd/rarpd.c    Tue Feb 13 10:17:04 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rarpd.c,v 1.59 2011/08/30 20:25:18 joerg Exp $ */
+/*     $NetBSD: rarpd.c,v 1.60 2018/02/13 10:17:04 martin Exp $        */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -25,7 +25,7 @@
 #endif /* not lint */
 
 #ifndef lint
-__RCSID("$NetBSD: rarpd.c,v 1.59 2011/08/30 20:25:18 joerg Exp $");
+__RCSID("$NetBSD: rarpd.c,v 1.60 2018/02/13 10:17:04 martin Exp $");
 #endif
 
 
@@ -414,7 +414,7 @@
        }
        {
 #ifdef __NetBSD__
-               caddr_t tha = ar_tha(ap);
+               uint8_t *tha = ar_tha(ap);
 
                if (!tha || memcmp(ar_sha(ap), tha, 6) != 0) {
 #else



Home | Main Index | Thread Index | Old Index