forked from osmocom/wireshark
Get rid of the "(UDP)" and "(TCP)" in various NetBIOS-over-TCP protocol
columns. svn path=/trunk/; revision=1392
This commit is contained in:
parent
168069a36d
commit
dcd0869b37
4
column.c
4
column.c
|
@ -1,7 +1,7 @@
|
|||
/* column.c
|
||||
* Routines for handling column preferences
|
||||
*
|
||||
* $Id: column.c,v 1.25 1999/10/17 06:10:57 guy Exp $
|
||||
* $Id: column.c,v 1.26 1999/12/29 10:48:01 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@zing.org>
|
||||
|
@ -219,7 +219,7 @@ get_column_longest_string(gint format)
|
|||
return "000000";
|
||||
break;
|
||||
case COL_PROTOCOL:
|
||||
return "NBNS (UDP)";
|
||||
return "NetBIOS"; /* not the longest, but the longest is too long */
|
||||
break;
|
||||
case COL_PACKET_LENGTH:
|
||||
return "000000";
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
|
||||
* Much stuff added by Guy Harris <guy@netapp.com>
|
||||
*
|
||||
* $Id: packet-nbns.c,v 1.33 1999/11/16 11:42:39 guy Exp $
|
||||
* $Id: packet-nbns.c,v 1.34 1999/12/29 10:48:02 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@zing.org>
|
||||
|
@ -1121,7 +1121,7 @@ dissect_nbns(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
|
|||
nbns_data_offset = offset;
|
||||
|
||||
if (check_col(fd, COL_PROTOCOL))
|
||||
col_add_str(fd, COL_PROTOCOL, "NBNS (UDP)");
|
||||
col_add_str(fd, COL_PROTOCOL, "NBNS");
|
||||
|
||||
if (pi.captured_len < NBNS_HDRLEN) {
|
||||
col_add_str(fd, COL_INFO, "Short NBNS packet");
|
||||
|
@ -1304,7 +1304,7 @@ dissect_nbdgm(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
|
|||
}
|
||||
|
||||
if (check_col(fd, COL_PROTOCOL))
|
||||
col_add_str(fd, COL_PROTOCOL, "NBDS (UDP)");
|
||||
col_add_str(fd, COL_PROTOCOL, "NBDS");
|
||||
if (check_col(fd, COL_INFO)) {
|
||||
col_add_fstr(fd, COL_INFO, "%s", message[message_index]);
|
||||
}
|
||||
|
@ -1576,9 +1576,9 @@ dissect_nbss(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
|
|||
(memcmp(pd + offset + 4, "\377SMB", 4) != 0))) {
|
||||
|
||||
if (check_col(fd, COL_PROTOCOL))
|
||||
col_add_str(fd, COL_PROTOCOL, "NBSS (TCP)");
|
||||
col_add_str(fd, COL_PROTOCOL, "NBSS");
|
||||
if (check_col(fd, COL_INFO)) {
|
||||
col_add_fstr(fd, COL_INFO, "NBSS (TCP) Continuation Message");
|
||||
col_add_fstr(fd, COL_INFO, "NBSS Continuation Message");
|
||||
}
|
||||
|
||||
if (tree)
|
||||
|
@ -1589,7 +1589,7 @@ dissect_nbss(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
|
|||
#endif
|
||||
|
||||
if (check_col(fd, COL_PROTOCOL))
|
||||
col_add_str(fd, COL_PROTOCOL, "NBSS (TCP)");
|
||||
col_add_str(fd, COL_PROTOCOL, "NBSS");
|
||||
if (check_col(fd, COL_INFO)) {
|
||||
col_add_fstr(fd, COL_INFO,
|
||||
val_to_str(msg_type, message_types, "Unknown (%x)"));
|
||||
|
|
Loading…
Reference in New Issue