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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/osi-utils.c b/epan/osi-utils.c
index a71e13fbbe..6aa79268aa 100644
--- a/epan/osi-utils.c
+++ b/epan/osi-utils.c
@@ -190,8 +190,6 @@ print_area_buf(const guint8 *ad, int length, gchar *buf, int buf_len)
{
g_snprintf(buf, buf_len, "%02x%02x%02x%02x", ad[0], ad[1], ad[2], ad[3] );
}
- if ( 4 < length )
- {
while ( tmp < length / 4 ) { /* 16/4==4 > four Octets left to print */
cur += g_snprintf(cur, (gulong) (buf_len-(cur-buf)), "%02x", ad[tmp++] );
cur += g_snprintf(cur, (gulong) (buf_len-(cur-buf)), "%02x", ad[tmp++] );
@@ -207,7 +205,7 @@ print_area_buf(const guint8 *ad, int length, gchar *buf, int buf_len)
cur += g_snprintf(cur, (gulong) (buf_len-(cur-buf)), "%02x", ad[tmp++] );
}
}
- }
+
}
} /* print_area_buf */