aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-per.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-04 22:05:50 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2005-06-04 22:05:50 +0000
commit69e23d22566ddb0dc005e0b446324e9cfbd9460d (patch)
treef193bb41c78f2216e4bdb931785794ce80ec5ffd /epan/dissectors/packet-per.h
parentcab5b23b25fc72606795b7d60f76af520c3b9827 (diff)
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
Diffstat (limited to 'epan/dissectors/packet-per.h')
-rw-r--r--epan/dissectors/packet-per.h2
1 files changed, 1 insertions, 1 deletions
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); \
} \