fixed saving records in MAC table, added parsing TCP packets