String cmd = multicast ? "ifconfig " + name + " -multicast"
: "ifconfig " + name + " multicast";
Process proc = Runtime.getRuntime().exec(cmd);
proc.waitFor();
assertEquals(name + " multicast should be " + !multicast,
!multicast, netif.supportsMulticast());
cmd = multicast ? "ifconfig " + name + " multicast"
: "ifconfig " + name + " -multicast";
proc = Runtime.getRuntime().exec(cmd);
proc.waitFor();