summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c b/usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c
index 92144b3985..60ee264050 100644
--- a/usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c
+++ b/usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c
@@ -11,6 +11,7 @@
/*
* Copyright 2018 Joyent, Inc.
+ * Copyright 2022 MNX Cloud, Inc.
*/
/*
@@ -273,7 +274,7 @@ vxlan_o_setprop(void *arg, const char *pr_name, const void *buf,
if (IN6_IS_ADDR_V4MAPPED(ipv6)) {
ipaddr_t v4;
IN6_V4MAPPED_TO_IPADDR(ipv6, v4);
- if (IN_MULTICAST(v4))
+ if (IN_MULTICAST(ntohl(v4)))
return (EINVAL);
}