More pretty printout of default interface in yaml
@@ -162,12 +162,10 @@ static void csp_yaml_end_if(struct data_s * data, unsigned int * dfl_addr) {
iface->name = strdup(data->name);
if (data->is_dfl) {
- printf("default %s\n", iface->name);
csp_iflist_set_default(iface);
}
-
- csp_print(" %s addr: %u netmask %u\n", iface->name, iface->addr, iface->netmask);
+ csp_print(" %s addr: %u netmask %u %s\n", iface->name, iface->addr, iface->netmask, (data->is_dfl) ? "DFL" : "");
}
