diff options
Diffstat (limited to 'epan/tap.c')
-rw-r--r-- | epan/tap.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/tap.c b/epan/tap.c index fb47372aec..d53bdd0432 100644 --- a/epan/tap.c +++ b/epan/tap.c @@ -117,7 +117,13 @@ int register_tap(const char *name) { tap_dissector_t *td, *tdl; - int i; + int i, tap_id; + + if(tap_dissector_list){ + tap_id=find_tap_id(name); + if (tap_id) + return tap_id; + } td=g_malloc(sizeof(tap_dissector_t)); td->next=NULL; |