aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipsec.c
diff options
context:
space:
mode:
authoritojun <itojun@f5534014-38df-0310-8fa8-9805f1628bb7>1999-10-14 03:50:51 +0000
committeritojun <itojun@f5534014-38df-0310-8fa8-9805f1628bb7>1999-10-14 03:50:51 +0000
commit274b32de20837dcc7990d7eb18b28838aaf91110 (patch)
tree212255bd6b2aa91e791440a3ecd8c0557731a0bb /packet-ipsec.c
parent03c7d9ab776bd00286bf9f6428915f4fb019a99a (diff)
implement ipprotostr() in ipproto.c, which basically does ipprotobynumber()
for ip.ip_p and ip6.ip6_nxt (and other IPv6 header chain). use val_to_str() as much as possible in dissect_{ipv6,pim,ripng}(). make --disable-zlib a default for netbsd (temporary workaround). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@827 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ipsec.c')
-rw-r--r--packet-ipsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ipsec.c b/packet-ipsec.c
index eb6173066a..9d9bef8fd9 100644
--- a/packet-ipsec.c
+++ b/packet-ipsec.c
@@ -1,7 +1,7 @@
/* packet-ipsec.c
* Routines for IPsec packet disassembly
*
- * $Id: packet-ipsec.c,v 1.5 1999/10/12 06:20:09 gram Exp $
+ * $Id: packet-ipsec.c,v 1.6 1999/10/14 03:50:29 itojun Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -96,7 +96,7 @@ dissect_ah(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
ah_tree = proto_item_add_subtree(ti, ETT_AH);
proto_tree_add_text(ah_tree, offset + offsetof(struct newah, ah_nxt), 1,
- "Next Header: %d", ah.ah_nxt);
+ "Next Header: %s (0x%02x)", ipprotostr(ah.ah_nxt), ah.ah_nxt);
proto_tree_add_text(ah_tree, offset + offsetof(struct newah, ah_len), 1,
"Length: %d", ah.ah_len << 2);
proto_tree_add_item_format(ah_tree, hf_ah_spi,