Remote= must be a non multicast address. ip-link(8) says:
> remote IPADDR - specifies the unicast destination IP address to
> use in outgoing packets when the destination link layer address
> is not known in the VXLAN device forwarding database.
Closes #8088.
<varlistentry>
<term><varname>Remote=</varname></term>
<listitem>
- <para>Configures destination multicast group IP address.</para>
+ <para>Configures destination IP address.</para>
</listitem>
</varlistentry>
<varlistentry>
r = in_addr_is_multicast(f, &buffer);
- if (STR_IN_SET(lvalue, "Group", "Remote")) {
+ if (streq(lvalue, "Group")) {
if (r <= 0) {
log_syntax(unit, LOG_ERR, filename, line, 0, "vxlan invalid multicast '%s' address, ignoring assignment: %s", lvalue, rvalue);
return 0;
return 0;
}
- v->local_family = f;
+ if (streq(lvalue, "Remote"))
+ v->remote_family = f;
+ else
+ v->local_family = f;
}
*addr = buffer;