summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfnm3 <fnm3>2002-11-25 10:06:49 +0000
committerfnm3 <fnm3>2002-11-25 10:06:49 +0000
commit97e763a21b9ba4a4446737cec77d63323fc0c034 (patch)
tree5d917a48cb254a3364f69f7bb5c71be7c5975d36
parent349c9209edb86fd995f811badebadb0455efcd5e (diff)
Removed useless bzero(ethertype_name, 21)
-rw-r--r--extensions/ebt_vlan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/extensions/ebt_vlan.c b/extensions/ebt_vlan.c
index 84722ea..f7bec62 100644
--- a/extensions/ebt_vlan.c
+++ b/extensions/ebt_vlan.c
@@ -253,7 +253,6 @@ print(const struct ebt_u_entry *entry, const struct ebt_entry_match *match)
if (GET_BITMASK(EBT_VLAN_ENCAP)) {
printf("--%s %s",
opts[VLAN_ENCAP].name, INV_FLAG(EBT_VLAN_ENCAP));
- bzero(ethertype_name, 21);
ethent = getethertypebynumber(ntohs(vlaninfo->encap));
if (ethent != NULL) {
printf("%s ", ethent->e_name);