fixing link encoding for shared vlans