git: 9ec48bc31e45 - main - pfctl: match expand_label_addr() prototype to definition

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Wed, 26 Apr 2023 15:10:03 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=9ec48bc31e45c619fb0eb5cda42d23b09edde614

commit 9ec48bc31e45c619fb0eb5cda42d23b09edde614
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-04-25 14:01:45 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-04-26 15:09:46 +0000

    pfctl: match expand_label_addr() prototype to definition
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/pfctl/parse.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index b0f631a5998c..1a0935ce599b 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -351,7 +351,7 @@ int		 rdr_consistent(struct pfctl_rule *);
 int		 process_tabledef(char *, struct table_opts *);
 void		 expand_label_str(char *, size_t, const char *, const char *);
 void		 expand_label_if(const char *, char *, size_t, const char *);
-void		 expand_label_addr(const char *, char *, size_t, u_int8_t,
+void		 expand_label_addr(const char *, char *, size_t, sa_family_t,
 		    struct pf_rule_addr *);
 void		 expand_label_port(const char *, char *, size_t,
 		    struct pf_rule_addr *);