Work with raN_addr if found.
[dhcpcd-ui] / src / libdhcpcd / dhcpcd.c
index a77198417d6208c2d49f8c35247b683bd95ee171..9e8c7d9ac82db83eb1de365cac3d623aed665a00 100644 (file)
@@ -1089,6 +1089,8 @@ dhcpcd_if_message(DHCPCD_IF *i, bool *new_msg)
        pfx = i->up ? "new_" : "old_";
        if ((ip = dhcpcd_get_prefix_value(i, pfx, "ip_address")))
                iplen = dhcpcd_get_prefix_value(i, pfx, "subnet_cidr");
+       else if ((ip = dhcpcd_get_value(i, "ra1_addr")))
+               iplen = NULL;
        else if ((ip = dhcpcd_get_value(i, "ra1_prefix")))
                iplen = NULL;
        else if ((ip = dhcpcd_get_prefix_value(i, pfx,