interfaces: fix network to host conversion for private addresses

Status Job ID Name Coverage
  Build
passed #1623865
build autotools

00:02:14

passed #1623866
build meson

00:00:26

passed #1623868
1809 windows docker
build msvc amd64

00:04:00

passed #1623869
1809 windows docker
build msvc x86

00:04:15

passed #1623867
1809 windows docker
build msys2

00:06:59

 
  Test
passed #1623872
distcheck autotools

00:02:31

passed #1623875
doc-and-install meson

00:00:48

passed #1623870
test autotools

00:02:34

passed #1623871
test autotools valgrind

00:05:25

passed #1623873
test meson

00:01:02

passed #1623874
test valgrind meson

00:01:11