Add Mac address validation in pkt_handler.cc