artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c9e30
)
Constify pfsync_acts[]; OK dlg
author
kn
<kn@openbsd.org>
Sun, 6 Nov 2022 21:34:01 +0000
(21:34 +0000)
committer
kn
<kn@openbsd.org>
Sun, 6 Nov 2022 21:34:01 +0000
(21:34 +0000)
sys/net/if_pfsync.c
patch
|
blob
|
history
diff --git
a/sys/net/if_pfsync.c
b/sys/net/if_pfsync.c
index
d19129b
..
d279ede
100644
(file)
--- a/
sys/net/if_pfsync.c
+++ b/
sys/net/if_pfsync.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_pfsync.c,v 1.30
8 2022/11/06 21:31:24 dlg Exp $
*/
+/* $OpenBSD: if_pfsync.c,v 1.30
9 2022/11/06 21:34:01 kn Exp $
*/
/*
* Copyright (c) 2002 Michael Shalayeff
@@
-118,7
+118,7
@@
int pfsync_in_error(caddr_t, int, int, int);
void pfsync_update_state_locked(struct pf_state *);
-struct {
+
const
struct {
int (*in)(caddr_t, int, int, int);
size_t len;
} pfsync_acts[] = {