link error status addition

link error detection code