aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bootp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-27 04:48:14 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-27 04:48:14 +0000
commit077e70e0b76d323d234a07867b171a492408725b (patch)
treee2392fe12761424f8f617b109a45ff643712a247 /packet-bootp.c
parentad0cf4f6ef9398b72df0d39ddfb9d07d04c76a19 (diff)
Pull the code to dissect an ATM NSAP address out of "packet-q2931.c" and
put it into a subroutine in "packet-arp.c", and call it from "packet-q2931.c". Add a "packet-arp.h" header to hold declarations of routines exported by "packet-atm.c" (other than the ATM dissector itself), moving them out of "packet.h". Use the aforementioned NSAP dissector to display ATM addresses in NSAP format, and display E.164 addresses as ASCII text (under the assumption that they're presented as a string of IA5, i.e. ASCII, characters, just as they are in Q.931). svn path=/trunk/; revision=1124
Diffstat (limited to 'packet-bootp.c')
-rw-r--r--packet-bootp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-bootp.c b/packet-bootp.c
index 6455b7f548..e49d3e5ea3 100644
--- a/packet-bootp.c
+++ b/packet-bootp.c
@@ -2,7 +2,7 @@
* Routines for BOOTP/DHCP packet disassembly
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
- * $Id: packet-bootp.c,v 1.22 1999/11/16 11:42:27 guy Exp $
+ * $Id: packet-bootp.c,v 1.23 1999/11/27 04:48:12 guy Exp $
*
* The information used comes from:
* RFC 2132: DHCP Options and BOOTP Vendor Extensions
@@ -39,6 +39,7 @@
#include <glib.h>
#include "packet.h"
+#include "packet-arp.h"
static int proto_bootp = -1;
static int hf_bootp_type = -1;