Module Name: src
Committed By: martin
Date: Tue Feb 13 10:17:04 UTC 2018
Modified Files:
src/usr.sbin/rarpd: rarpd.c
Log Message:
Adapt to ar_tha() changes in if_arp.h rev1.31.
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/usr.sbin/rarpd/rarpd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/rarpd/rarpd.c
diff -u src/usr.sbin/rarpd/rarpd.c:1.59 src/usr.sbin/rarpd/rarpd.c:1.60
--- src/usr.sbin/rarpd/rarpd.c:1.59 Tue Aug 30 20:25:18 2011
+++ src/usr.sbin/rarpd/rarpd.c Tue Feb 13 10:17:04 2018
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1990\
#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 @@ rarp_check(u_char *p, int len)
}
{
#ifdef __NetBSD__
- caddr_t tha = ar_tha(ap);
+ uint8_t *tha = ar_tha(ap);
if (!tha || memcmp(ar_sha(ap), tha, 6) != 0) {
#else