Update vlan-check_PV.sh

bugfixes (variable names major_ip, minor_ip, statuslan; extra fi)