From 69e23d22566ddb0dc005e0b446324e9cfbd9460d Mon Sep 17 00:00:00 2001 From: ulfl Date: Sat, 4 Jun 2005 22:05:50 +0000 Subject: if some PER errors has to be put to the stderr, give at least info where it's coming from (__FILE__ and __LINE__) BTW: time for something like a "NotImplementedException"?!?, this seems to be a common mechanism, if a dissector hasn't implemented all protocol elemements (yet) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14554 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-per.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-per.h') diff --git a/epan/dissectors/packet-per.h b/epan/dissectors/packet-per.h index 6fec1d5375..56c28aba59 100644 --- a/epan/dissectors/packet-per.h +++ b/epan/dissectors/packet-per.h @@ -28,7 +28,7 @@ #define PER_NOT_DECODED_YET(x) \ proto_tree_add_text(tree, tvb, 0, 0, "something unknown here [%s]",x); \ -fprintf(stderr,"Not decoded yet in packet : %d [%s]\n", pinfo->fd->num,x); \ +fprintf(stderr,"[%s %u] Not decoded yet in packet : %d [%s]\n", __FILE__, __LINE__, pinfo->fd->num,x); \ if (check_col(pinfo->cinfo, COL_INFO)){ \ col_append_fstr(pinfo->cinfo, COL_INFO, "[UNKNOWN PER: %s]", x); \ } \ -- cgit v1.2.3