--- embedaddon/mpd/src/bund.c 2012/02/21 23:32:47 1.1 +++ embedaddon/mpd/src/bund.c 2013/07/22 08:44:29 1.1.1.2 @@ -1135,6 +1135,7 @@ BundCreate(Context ctx, int ac, char *av[], void *arg) /* Setup netgraph stuff */ if (BundNgInit(b) < 0) { gBundles[b->id] = NULL; + IfaceDestroy(b); Freee(b); Error("Bundle netgraph initialization failed"); } @@ -1317,6 +1318,12 @@ BundStat(Context ctx, int ac, char *av[], void *arg) /* Show configuration */ Printf("Configuration:\r\n"); +#ifdef SIOCSIFDESCR + Printf("\tDesc. template : %s\r\n", + sb->iface.conf.ifdescr ? sb->iface.conf.ifdescr : ""); + Printf("\tDescription : %s\r\n", + sb->iface.ifdescr ? sb->iface.ifdescr : ""); +#endif Printf("\tRetry timeout : %d seconds\r\n", sb->conf.retry_timeout); Printf("\tBW-manage:\r\n"); Printf("\t Period : %d seconds\r\n", sb->conf.bm_S);