commit | e54e48313c4abd9b797c109c374c1bc22c1d409d | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Thu Feb 25 17:23:10 2016 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Thu Feb 25 17:23:10 2016 +0800 |
tree | 7a177025ef5d2e8febd698f310ba76ab3762e193 | |
parent | 77cafea5e73c4fae728b24f79d7fbb81ce466d5a [diff] |
Separate local IP address query into a seaprate function This change moves the local IP address query into its own function. We then move it after the recvfrom() as the IP address may be stale by the time recvfrom() returns. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>