fixed Link_State() and Link_State_Broadcast() pointer errors