fragattack: bugfix in eapfrag test

This commit is contained in:
Mathy Vanhoef 2020-08-05 12:11:32 +04:00
parent 6de61875e7
commit f8d04e7485

View File

@ -21,7 +21,7 @@ class BcastEapFragTest(Test):
if len(actions) != 2:
log(ERROR, f"eapfrag: invalid arguments, should give 2 inject action (gave {len(actions)}).")
quit(1)
elif actions[0].enc:
elif actions[0].encrypted:
log(ERROR, f"eapfrag: first inject action should not be encrypted.")
quit(1)