r2083 + setSwitchVLANs(): use oneLiner(), handle "C" messages
[racktables] / gateways / switchvlans / cisco.connector
index 636e3c4187b55f23d4ac655da5bb7db8b6367072..50d6ec622361d2c95689e6e2844a3f9ac4d03f16 100755 (executable)
@@ -91,7 +91,7 @@ prepare_push_commands()
                        "$MYDIR/trunkdecoder" $vlanid >> $CMDS1
                fi
                printf "exit\n" >> $CMDS1
-               echo "I!Port $portname@$ENDPOINT has been assigned to VLAN $vlanid" >> "$FILE2"
+               echo "C!64!$portname!$ENDPOINT!$vlanid" >> "$FILE2"
        done < "$FILE1"
        printf "end\nwri\nquit\n" >> $CMDS1
 }