svn commit: r282534 - head/sbin/ipfw

Alexander V. Chernikov melifaro at FreeBSD.org
Wed May 6 11:23:15 UTC 2015


Author: melifaro
Date: Wed May  6 11:23:14 2015
New Revision: 282534
URL: https://svnweb.freebsd.org/changeset/base/282534

Log:
  Correctly print valtype for empty bitmask.

Modified:
  head/sbin/ipfw/tables.c

Modified: head/sbin/ipfw/tables.c
==============================================================================
--- head/sbin/ipfw/tables.c	Wed May  6 10:46:28 2015	(r282533)
+++ head/sbin/ipfw/tables.c	Wed May  6 11:23:14 2015	(r282534)
@@ -715,6 +715,7 @@ table_print_valheader(char *buf, size_t 
 		return;
 	}
 
+	memset(buf, 0, bufsize);
 	print_flags_buffer(buf, bufsize, tablevaltypes, vmask);
 }
 


More information about the svn-src-all mailing list