nat: Replace the idiom for replacing a string with a function call

Remove a lot of code in favor of a new function that is freeing
the old string and copying the new one. I should have gotten the
context and the strings right.
1 file changed
tree: f87fccb27afe50dd63f530980c686fc1db1d9d48
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/