defuse global variable madness
defuse global variable madness
remove code duplication
makefile improvement
remove code redundancy caused by vlan tagging