summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-05-11 12:55:12 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2016-05-11 17:02:14 -0500
commit25996276a907484d8fc26a6a9a79827367bfcfc0 (patch)
tree5e92b1dd29b5dc5b22e28b6af4307d68868e6f44 /sys/net
parentc23a05e2de0834d542caafe185dcb440b47051a5 (diff)
downloadFreeBSD-src-25996276a907484d8fc26a6a9a79827367bfcfc0.zip
FreeBSD-src-25996276a907484d8fc26a6a9a79827367bfcfc0.tar.gz
MFC r290982:
Implement the sadb_x_policy_priority field as it is done in Linux: lower priority policies are inserted first. Submitted by: Emeric Poupon <emeric.poupon@stormshield.eu> Reviewed by: ae Sponsored by: Stormshield TAG: IPSEC-HEAD
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pfkeyv2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index bab26fe..c9b2769 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -225,7 +225,7 @@ struct sadb_x_policy {
u_int8_t sadb_x_policy_dir; /* direction, see ipsec.h */
u_int8_t sadb_x_policy_reserved;
u_int32_t sadb_x_policy_id;
- u_int32_t sadb_x_policy_reserved2;
+ u_int32_t sadb_x_policy_priority;
};
_Static_assert(sizeof(struct sadb_x_policy) == 16, "struct size mismatch");
OpenPOWER on IntegriCloud