diff options
author | fabient <fabient@FreeBSD.org> | 2015-11-17 14:39:33 +0000 |
---|---|---|
committer | fabient <fabient@FreeBSD.org> | 2015-11-17 14:39:33 +0000 |
commit | 5bb5d55de914d628b9b9284b85c9043cf9785abe (patch) | |
tree | 0442be2ade08a87dea1c247b0cc25749e340d5bb /sys/net/pfkeyv2.h | |
parent | c0501d5b011491032ca4c7e63d7b16f75668dcb1 (diff) | |
download | FreeBSD-src-5bb5d55de914d628b9b9284b85c9043cf9785abe.zip FreeBSD-src-5bb5d55de914d628b9b9284b85c9043cf9785abe.tar.gz |
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
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r-- | sys/net/pfkeyv2.h | 2 |
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"); |