Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2016 19:54:40 +0000 (UTC)
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303673 - head/sbin/pfctl
Message-ID:  <201608021954.u72Jsefv095659@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608021954.u72Jsefv095659>