diff --git a/tmcd/tmcd.c b/tmcd/tmcd.c index f8d1288c29fe8b1c001040d40fa36e877be3aae9..fee74f0329e670b144c567d182192b44fe607e81 100644 --- a/tmcd/tmcd.c +++ b/tmcd/tmcd.c @@ -2255,15 +2255,7 @@ COMMAND_PROTOTYPE(doifconfig) reqp->nodeid); return 1; } - if ((nrows = (int)mysql_num_rows(res)) == 0) { - mysql_free_result(res); - /* XXX not sure why this is ever an error? */ - if (!reqp->isplabdslice && num_interfaces == 0) { - error("%s: IFCONFIG: No interfaces!\n", reqp->nodeid); - return 1; - } - return 0; - } + nrows = (int)mysql_num_rows(res); while (nrows) { char *bufp = buf; char *ifacetype; @@ -2380,7 +2372,6 @@ COMMAND_PROTOTYPE(doifconfig) } mysql_free_result(res); - /* * Containers do not see egre/gre tunnels, they see plain interfaces, * since the tunnel was set up in root (dom0) context. This applies to