*
* Copyright 2000, Heikki Vatiainen <hessu@cs.tut.fi>
*
- * $Id: packet-cops.c,v 1.42 2004/01/17 12:50:59 ulfl Exp $
+ * $Id: packet-cops.c,v 1.43 2004/02/18 10:11:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
if (object_len < COPS_OBJECT_HDR_SIZE) {
/* Bogus! */
proto_tree_add_text(tree, tvb, offset, 2,
- "Bad COPS object length: %u, should be at least %u\n",
+ "Bad COPS object length: %u, should be at least %u",
object_len, COPS_OBJECT_HDR_SIZE);
return -1;
}
if (object_len < COPS_OBJECT_HDR_SIZE) {
/* Bogus! */
proto_tree_add_text(tree, tvb, offset, 2,
- "Bad COPS PR object length: %u, should be at least %u\n",
+ "Bad COPS PR object length: %u, should be at least %u",
object_len, COPS_OBJECT_HDR_SIZE);
return;
}
* dissection
* Copyright 2003, Josef Korelus <jkor@quick.cz>
*
- * $Id: packet-gprs-ns.c,v 1.7 2003/11/14 18:59:00 guy Exp $
+ * $Id: packet-gprs-ns.c,v 1.8 2004/02/18 10:11:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
if (tree) {
proto_tree_add_text(tree,
tvb, offset, length,
- "Bad cause length %u, should be 1\n",
+ "Bad cause length %u, should be 1",
length);
}
}
if (tree) {
proto_tree_add_text(tree,
tvb, offset, length,
- "Bad NS-VCI length %u, should be 2\n",
+ "Bad NS-VCI length %u, should be 2",
length);
}
}
if (tree) {
proto_tree_add_text(tree,
tvb, offset, length,
- "Bad BVCI length %u, should be 2\n",
+ "Bad BVCI length %u, should be 2",
length);
}
}
if (tree) {
proto_tree_add_text(tree,
tvb, offset, length,
- "Bad NSEI length %u, should be 2\n",
+ "Bad NSEI length %u, should be 2",
length);
}
}
* Enterasys Networks Home: http://www.enterasys.com/
* Copyright 2003, Joshua Craig Douglas <jdouglas@enterasys.com>
*
- * $Id: packet-ismp.c,v 1.3 2004/01/03 03:37:26 guy Exp $
+ * $Id: packet-ismp.c,v 1.4 2004/02/18 10:11:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
case EDP_TUPLE_UNKNOWN:
default:
proto_tree_add_text(edp_tuples_leaf_tree, tvb, offset, tuple_length,
- "Unknown Tuple Data %s\n", tvb_format_text(tvb, offset, tuple_length));
+ "Unknown Tuple Data %s", tvb_format_text(tvb, offset, tuple_length));
break;
}
}
* Routines for Q.933 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q933.c,v 1.4 2003/11/03 20:57:36 guy Exp $
+ * $Id: packet-q933.c,v 1.5 2004/02/18 10:11:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
{
if (len != 2) {
proto_tree_add_text(tree, tvb, offset, len,
- "Segmented message: length is %d, should be 2\n", len);
+ "Segmented message: length is %d, should be 2", len);
return;
}
if (tvb_get_guint8(tvb, offset) & 0x80) {
tvb_get_guint8(tvb, offset) & 0x7F);
}
proto_tree_add_text(tree, tvb, offset + 1, 1,
- "Segmented message type: %u\n", tvb_get_guint8(tvb, offset + 1));
+ "Segmented message type: %u", tvb_get_guint8(tvb, offset + 1));
}
/*
* Routines for Token-Ring Media Access Control
* Gilbert Ramirez <gram@alumni.rice.edu>
*
- * $Id: packet-trmac.c,v 1.38 2002/08/28 21:00:36 jmayer Exp $
+ * $Id: packet-trmac.c,v 1.39 2004/02/18 10:11:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
mv_val = tvb_get_guint8(tvb, 3);
/* Interpret the major vector */
- mv_text = val_to_str(mv_val, major_vector_vs, "Unknown Major Vector: %d\n");
+ mv_text = val_to_str(mv_val, major_vector_vs, "Unknown Major Vector: %u");
if (check_col(pinfo->cinfo, COL_INFO))
col_add_str(pinfo->cinfo, COL_INFO, mv_text);