Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Add one more not supported error
details: https://anonhg.NetBSD.org/src/rev/29a20d2d9ac3
branches: trunk
changeset: 356327:29a20d2d9ac3
user: christos <christos%NetBSD.org@localhost>
date: Sun Sep 17 20:39:04 2017 +0000
description:
Add one more not supported error
diffstat:
sys/net/if_ppp.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 51a56e14727b -r 29a20d2d9ac3 sys/net/if_ppp.c
--- a/sys/net/if_ppp.c Sun Sep 17 20:37:17 2017 +0000
+++ b/sys/net/if_ppp.c Sun Sep 17 20:39:04 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ppp.c,v 1.158 2016/10/02 14:17:07 christos Exp $ */
+/* $NetBSD: if_ppp.c,v 1.159 2017/09/17 20:39:04 christos Exp $ */
/* Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp */
/*
@@ -102,7 +102,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.158 2016/10/02 14:17:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.159 2017/09/17 20:39:04 christos Exp $");
#ifdef _KERNEL_OPT
#include "ppp.h"
@@ -801,6 +801,8 @@
break;
#endif
default:
+ printf("%s: af%d not supported\n", ifp->if_xname,
+ ifa->ifa_addr->sa_family);
error = EAFNOSUPPORT;
break;
}
Home |
Main Index |
Thread Index |
Old Index