Bugfix on making UDP remote information persistent

Bugfix on commit d386a2ce14883d637d4eac486940af5c07370a6d