Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Restore correct test for return value from aarpresol...
details: https://anonhg.NetBSD.org/src/rev/937aba9aeef1
branches: trunk
changeset: 346654:937aba9aeef1
user: rjs <rjs%NetBSD.org@localhost>
date: Mon Jul 25 23:46:09 2016 +0000
description:
Restore correct test for return value from aarpresolve().
diffstat:
sys/net/if_ethersubr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 254fb8f04e40 -r 937aba9aeef1 sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c Mon Jul 25 22:10:03 2016 +0000
+++ b/sys/net/if_ethersubr.c Mon Jul 25 23:46:09 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ethersubr.c,v 1.225 2016/06/21 03:54:04 knakahara Exp $ */
+/* $NetBSD: if_ethersubr.c,v 1.226 2016/07/25 23:46:09 rjs Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.225 2016/06/21 03:54:04 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.226 2016/07/25 23:46:09 rjs Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -300,7 +300,7 @@
#ifdef NETATALK
case AF_APPLETALK:
KERNEL_LOCK(1, NULL);
- if (aarpresolve(ifp, m, (const struct sockaddr_at *)dst, edst)) {
+ if (!aarpresolve(ifp, m, (const struct sockaddr_at *)dst, edst)) {
#ifdef NETATALKDEBUG
printf("aarpresolv failed\n");
#endif /* NETATALKDEBUG */
Home |
Main Index |
Thread Index |
Old Index