commit | 43d859271894f83c5de6294685b5919889541bab | [log] [tgz] |
---|---|---|
author | Jouni Malinen <jouni@qca.qualcomm.com> | Thu Oct 30 11:43:47 2014 +0200 |
committer | Jouni Malinen <j@w1.fi> | Thu Oct 30 11:43:47 2014 +0200 |
tree | 9b67e87f63ecbf33369684110908b56a5df4729e | |
parent | 8c00fd00cd941a789d8b2a8ae5ce374831db63c3 [diff] |
MACsec: Fix policy configuration macsec_validate variable was set incorrectly to FALSE(0) or TRUE(1) instead of the enum validate_frames values (Disabled(0), Checked(1), Strict(2). This ended up policy == SHOULD_SECURE to be mapped to macsec_validate == Checked instead of Strict. This could have resulted in unintended SecY forwarding of invalid packets rather than dropping them. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>