// If LUT does not already have the source address, add the entry
if (packet.start===STD||packet.start===ACK||packet.start===STF||packet.start===ACF){
if (!this.addr_table[packet.port].dests.hasOwnProperty(packet.src)||this.addr_table[packet.port].dests[packet.src]>packet.hopcount){
if ((packet.start===STD||packet.start===ACK||packet.start===STF||packet.start===ACF)// If this is not a buffer update
&&packet.src!==self.id// ...or a packet from me
&&(!this.addr_table[packet.port].dests.hasOwnProperty(packet.src)||this.addr_table[packet.port].dests[packet.src]!==packet.hopcount)){// ...and my entry for the source is invalid