pkstream/pkstream.c: Introduce helper functions to fiddle with addresses.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 27 Sep 2017 22:49:01 +0000 (23:49 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 16 Jun 2018 18:14:10 +0000 (19:14 +0100)
commit5426c57ad4cd9de90256af79008f3f0ec048d1eb
tree37725ac76836b634673aecfb6daa3d1bb9fcdbee
parent5db82aca938cf27355c17e5e5cdab4448beb60c2
pkstream/pkstream.c: Introduce helper functions to fiddle with addresses.

The remaining places where pieces of addresses are fiddled with
directly, outside of these new functions, are:

  * in `doaccept', where we continue inspect the peer address to see if
    it's a wildcard, because we'll handle this in a very different way
    later; and

  * in `parseaddr', which needs to fill in addresses and port numbers.
pkstream/pkstream.c