Lookup of iface_name and iface_proto in the json data were switched
in fw3_ubus_rules
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
if (!strcmp(blobmsg_name(cur), "l3_device"))
l3_device = blobmsg_get_string(cur);
else if (!strcmp(blobmsg_name(cur), "interface"))
- iface_proto = blobmsg_get_string(cur);
- else if (!strcmp(blobmsg_name(cur), "proto"))
iface_name = blobmsg_get_string(cur);
+ else if (!strcmp(blobmsg_name(cur), "proto"))
+ iface_proto = blobmsg_get_string(cur);
else if (!strcmp(blobmsg_name(cur), "data"))
data = cur;
}