networking: fix potential overflow in ife_print6()