Fixed agent code to handle untagged public vlan while parsing the vlan id