792
792
if(myGlobals.runningPref.mergeInterfaces) {
793
794
safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf), "Sorry, but you cannot switch among different interfaces "
794
795
"unless the -M command line switch is specified at run time.");
796
797
} else if((mwInterface != -1) &&
797
798
((mwInterface >= myGlobals.numDevices) || myGlobals.device[mwInterface].virtualDevice)) {
798
800
safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf), "Sorry, invalid interface selected.");
800
802
} else if((myGlobals.numDevices == 1) || (!found)) {
801
804
safe_snprintf(__FILE__, __LINE__, buf, sizeof(buf), "Sorry, you are currently capturing traffic from only a "
802
805
"single/dummy interface [%s].<br><br>"
803
806
"</b> This interface switch feature is meaningful only when your ntop "