aboutsummaryrefslogtreecommitdiffstats
path: root/epan/osi-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/osi-utils.c')
-rw-r--r--epan/osi-utils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/osi-utils.c b/epan/osi-utils.c
index 4734b14633..5d2671fe37 100644
--- a/epan/osi-utils.c
+++ b/epan/osi-utils.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <glib.h>
+#include "tvbuff.h"
#include "osi-utils.h"
#include "emem.h"
@@ -87,6 +88,12 @@ print_system_id( const guint8 *ad, int length )
return( cur );
}
+gchar *
+tvb_print_system_id( tvbuff_t *tvb, const gint offset, int length )
+{
+ return( print_system_id(tvb_get_ptr(tvb, offset, length), length) );
+}
+
void
print_system_id_buf( const guint8 *ad, int length, gchar *buf, int buf_len)
{