summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfnm3 <fnm3>2002-11-25 10:06:49 +0000
committerfnm3 <fnm3>2002-11-25 10:06:49 +0000
commit024966844390d8e2f11f7999c74fe7f2b98fbf9e (patch)
tree8472c8606a7e7708fb3cc7e2bc88d6754bd11365
parent65f04c6742334443eedee300a8a786a096403a9e (diff)
Removed useless bzero(ethertype_name, 21)
-rw-r--r--userspace/ebtables2/extensions/ebt_vlan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/userspace/ebtables2/extensions/ebt_vlan.c b/userspace/ebtables2/extensions/ebt_vlan.c
index 84722ea..f7bec62 100644
--- a/userspace/ebtables2/extensions/ebt_vlan.c
+++ b/userspace/ebtables2/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);