diff options
Diffstat (limited to 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c index a18360d370..7d311a1027 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -149,6 +149,15 @@ epan_new(void) } const char * +epan_get_user_comment(const epan_t *session, const frame_data *fd) +{ + if (session->get_user_comment) + return session->get_user_comment(session->data, fd); + + return NULL; +} + +const char * epan_get_interface_name(const epan_t *session, guint32 interface_id) { if (session->get_interface_name) |