diff options
author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2015-05-06 11:23:14 +0000 |
---|---|---|
committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2015-05-06 11:23:14 +0000 |
commit | 8a6dbb6455abdcc3271b7789b55e10e9c57f4414 (patch) | |
tree | e3e5be07302735b18bfbce387b8274511d9b59fe | |
parent | dbcc81dfdcc32cad95a1e34e1927e0771cadfe9d (diff) | |
download | src-8a6dbb6455abdcc3271b7789b55e10e9c57f4414.tar.gz src-8a6dbb6455abdcc3271b7789b55e10e9c57f4414.zip |
Correctly print valtype for empty bitmask.
Notes
Notes:
svn path=/head/; revision=282534
-rw-r--r-- | sbin/ipfw/tables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ipfw/tables.c b/sbin/ipfw/tables.c index 08f47318e678..594c28d17867 100644 --- a/sbin/ipfw/tables.c +++ b/sbin/ipfw/tables.c @@ -715,6 +715,7 @@ table_print_valheader(char *buf, size_t bufsize, uint32_t vmask) return; } + memset(buf, 0, bufsize); print_flags_buffer(buf, bufsize, tablevaltypes, vmask); } |