Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156452724
D34266.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
782 B
Referenced Files
None
Subscribers
None
D34266.diff
View Options
diff --git a/sys/netpfil/pf/pf_nv.c b/sys/netpfil/pf/pf_nv.c
--- a/sys/netpfil/pf/pf_nv.c
+++ b/sys/netpfil/pf/pf_nv.c
@@ -626,7 +626,7 @@
PFNV_CHK(pf_nvuint8(nvl, "flush", &rule->flush));
PFNV_CHK(pf_nvuint8(nvl, "prio", &rule->prio));
- PFNV_CHK(pf_nvuint8_array(nvl, "set_prio", &rule->prio, 2, NULL));
+ PFNV_CHK(pf_nvuint8_array(nvl, "set_prio", rule->set_prio, 2, NULL));
if (nvlist_exists_nvlist(nvl, "divert")) {
const nvlist_t *nvldivert = nvlist_get_nvlist(nvl, "divert");
@@ -809,7 +809,7 @@
nvlist_add_number(nvl, "flush", rule->flush);
nvlist_add_number(nvl, "prio", rule->prio);
- pf_uint8_array_nv(nvl, "set_prio", &rule->prio, 2);
+ pf_uint8_array_nv(nvl, "set_prio", rule->set_prio, 2);
tmp = pf_divert_to_nvdivert(rule);
if (tmp == NULL)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 14, 7:06 PM (11 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33055381
Default Alt Text
D34266.diff (782 B)
Attached To
Mode
D34266: pf: fix set_prio after nv conversion
Attached
Detach File
Event Timeline
Log In to Comment