svn commit: r303673 - head/sbin/pfctl

Kristof Provost kp at FreeBSD.org
Tue Aug 2 19:54:41 UTC 2016


Author: kp
Date: Tue Aug  2 19:54:40 2016
New Revision: 303673
URL: https://svnweb.freebsd.org/changeset/base/303673

Log:
  pfctl: Match prototype of pfctl_load_hostid.
  
  The prototype and the implementation of the pfctl_load_hostid used a
  different data type for one of the parameters.
  
  Submitted by:	Christian Mauderer <christian.mauderer at embedded-brains.de>

Modified:
  head/sbin/pfctl/pfctl.c

Modified: head/sbin/pfctl/pfctl.c
==============================================================================
--- head/sbin/pfctl/pfctl.c	Tue Aug  2 19:41:54 2016	(r303672)
+++ head/sbin/pfctl/pfctl.c	Tue Aug  2 19:54:40 2016	(r303673)
@@ -82,7 +82,7 @@ int	 pfctl_load_limit(struct pfctl *, un
 int	 pfctl_load_timeout(struct pfctl *, unsigned int, unsigned int);
 int	 pfctl_load_debug(struct pfctl *, unsigned int);
 int	 pfctl_load_logif(struct pfctl *, char *);
-int	 pfctl_load_hostid(struct pfctl *, unsigned int);
+int	 pfctl_load_hostid(struct pfctl *, u_int32_t);
 int	 pfctl_get_pool(int, struct pf_pool *, u_int32_t, u_int32_t, int,
 	    char *);
 void	 pfctl_print_rule_counters(struct pf_rule *, int);


More information about the svn-src-head mailing list