summaryrefslogtreecommitdiff
path: root/ip/ipmacsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ip/ipmacsec.c')
-rw-r--r--ip/ipmacsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ip/ipmacsec.c b/ip/ipmacsec.c
index 2e670e9e..127fa1e3 100644
--- a/ip/ipmacsec.c
+++ b/ip/ipmacsec.c
@@ -152,9 +152,9 @@ static void get_icvlen(__u8 *icvlen, char *arg)
if (ret)
invarg("expected ICV length", arg);
- if (*icvlen < MACSEC_MIN_ICV_LEN || *icvlen > MACSEC_MAX_ICV_LEN)
+ if (*icvlen < MACSEC_MIN_ICV_LEN || *icvlen > MACSEC_STD_ICV_LEN)
invarg("ICV length must be in the range {"
- STR(MACSEC_MIN_ICV_LEN) ".." STR(MACSEC_MAX_ICV_LEN)
+ STR(MACSEC_MIN_ICV_LEN) ".." STR(MACSEC_STD_ICV_LEN)
"}", arg);
}