Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/sdpquery add translation for "802.1Q" ethertype
details: https://anonhg.NetBSD.org/src/rev/bb07127ca9a8
branches: trunk
changeset: 749242:bb07127ca9a8
user: plunky <plunky%NetBSD.org@localhost>
date: Sun Nov 22 18:53:44 2009 +0000
description:
add translation for "802.1Q" ethertype
diffstat:
usr.bin/sdpquery/print.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c55711e8957f -r bb07127ca9a8 usr.bin/sdpquery/print.c
--- a/usr.bin/sdpquery/print.c Sun Nov 22 18:45:27 2009 +0000
+++ b/usr.bin/sdpquery/print.c Sun Nov 22 18:53:44 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: print.c,v 1.4 2009/08/20 11:07:42 plunky Exp $ */
+/* $NetBSD: print.c,v 1.5 2009/11/22 18:53:44 plunky Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: print.c,v 1.4 2009/08/20 11:07:42 plunky Exp $");
+__RCSID("$NetBSD: print.c,v 1.5 2009/11/22 18:53:44 plunky Exp $");
#include <ctype.h>
#include <iconv.h>
@@ -1374,6 +1374,7 @@
switch (v) {
case 0x0800: printf("IPv4"); break;
case 0x0806: printf("ARP"); break;
+ case 0x8100: printf("802.1Q"); break;
case 0x86dd: printf("IPv6"); break;
default: printf("0x%04x", v); break;
}
Home |
Main Index |
Thread Index |
Old Index