From 92bb59a8a81491a73f30855c5fc819f868a56f2c Mon Sep 17 00:00:00 2001 From: kevlo Date: Fri, 7 Sep 2018 07:49:43 +0000 Subject: [PATCH] Fix the build after removing an unused af argument from unmask(). ok claudio@ --- usr.sbin/tcpdump/pf_print_state.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/tcpdump/pf_print_state.c b/usr.sbin/tcpdump/pf_print_state.c index 9c1097fb0a8..eac1764f936 100644 --- a/usr.sbin/tcpdump/pf_print_state.c +++ b/usr.sbin/tcpdump/pf_print_state.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_print_state.c,v 1.13 2016/10/28 12:42:39 jsg Exp $ */ +/* $OpenBSD: pf_print_state.c,v 1.14 2018/09/07 07:49:43 kevlo Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -104,7 +104,7 @@ print_addr(struct pf_addr_wrap *addr, sa_family_t af, int verbose) return; } if (! PF_AZERO(&addr->v.a.mask, af)) { - int bits = unmask(&addr->v.a.mask, af); + int bits = unmask(&addr->v.a.mask); if (bits != (af == AF_INET ? 32 : 128)) printf("/%d", bits); @@ -318,7 +318,7 @@ print_state(struct pfsync_state *s, int opts) } int -unmask(struct pf_addr *m, sa_family_t af) +unmask(struct pf_addr *m) { int i = 31, j = 0, b = 0; u_int32_t tmp; -- 2.20.1