diff options
author | Gerald Combs <gerald@wireshark.org> | 1998-09-27 22:12:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1998-09-27 22:12:47 +0000 |
commit | 2e7e493198543e3fdb4b404763b02a2ad22d180e (patch) | |
tree | 01aa8a843d84f24a66f7bd9af00e105efe1ffcdc /packet-ncp.c | |
parent | 385699d4310480e19aecf08dcff23e792667747a (diff) | |
download | wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.tar.gz wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.tar.bz2 wireshark-2e7e493198543e3fdb4b404763b02a2ad22d180e.zip |
Merged in a _huge_ patch from Guy Harris. It adds a time stap column,
generalizes the column printing code, adds a "frame" tree item to
the tree view, and fixes a bunch of miscellaneous coding bugs.
svn path=/trunk/; revision=31
Diffstat (limited to 'packet-ncp.c')
-rw-r--r-- | packet-ncp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-ncp.c b/packet-ncp.c index b8a6a1c714..866d7a5287 100644 --- a/packet-ncp.c +++ b/packet-ncp.c @@ -2,7 +2,7 @@ * Routines for NetWare Core Protocol * Gilbert Ramirez <gram@verdict.uthscsa.edu> * - * $Id: packet-ncp.c,v 1.1 1998/09/23 05:25:11 gram Exp $ + * $Id: packet-ncp.c,v 1.2 1998/09/27 22:12:33 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -195,9 +195,9 @@ dissect_ncp(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) { guint16 ncp_type; int ncp_hdr; - if (fd->win_info[0]) { - strcpy(fd->win_info[3], "NCP"); - strcpy(fd->win_info[4], "NCP"); + if (fd->win_info[COL_NUM]) { + strcpy(fd->win_info[COL_PROTOCOL], "NCP"); + strcpy(fd->win_info[COL_INFO], "NCP"); } ncp_type = pntohs(&pd[offset]); |