diff options
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r-- | sys/net/pf_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index d4893d70d0f..e960f770a46 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.365 2021/06/23 06:53:52 dlg Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.366 2021/11/11 12:35:01 sashan Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -884,7 +884,7 @@ int pf_kif_setup(char *ifname, struct pfi_kif **kif) { if (ifname[0]) { - *kif = pfi_kif_get(ifname); + *kif = pfi_kif_get(ifname, NULL); if (*kif == NULL) return (EINVAL); @@ -1289,7 +1289,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) pool_put(&pf_queue_pl, qs); break; } - qs->kif = pfi_kif_get(qs->ifname); + qs->kif = pfi_kif_get(qs->ifname, NULL); if (qs->kif == NULL) { error = ESRCH; PF_UNLOCK(); |