net: fix accidental overwrite of more than just the address