From d2be6922e1a4ac2f9675db094d53ac4bc8ed1939 Mon Sep 17 00:00:00 2001 From: David Johnson Date: Mon, 19 Jan 2009 22:29:11 +0000 Subject: [PATCH] Add a -f (force, presumably) opt in call to snmpit so power_whol can move ports into the right vlan. --- tbsetup/power_whol.pm.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbsetup/power_whol.pm.in b/tbsetup/power_whol.pm.in index a52dafaf4..50159dcab 100644 --- a/tbsetup/power_whol.pm.in +++ b/tbsetup/power_whol.pm.in @@ -182,7 +182,7 @@ sub whacksome($@) { # # Put all ports in the WhOL VLAN, snmpit will enable them. # - if (system("$SNMPIT -m $whollan $portstr")) { + if (system("$SNMPIT -f -m $whollan $portstr")) { warn "WhOL: could not place ports in WHOL LAN\n"; $failed++; } -- GitLab