diff options
author | Martin Mares <mj@ucw.cz> | 1998-10-19 19:47:50 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-10-19 19:47:50 +0200 |
commit | 4cf45766bac4b1e3f5196f7e36d012cb7c010dc1 (patch) | |
tree | 58c78cab6352e57768c8d76014a825184d2b30c2 /sysdep/unix/io.c | |
parent | 36f2caf147fb80e2b3db59d367e07f5d143f3710 (diff) | |
download | bird-4cf45766bac4b1e3f5196f7e36d012cb7c010dc1.tar bird-4cf45766bac4b1e3f5196f7e36d012cb7c010dc1.zip |
Exporting fill_in_sockaddr() for use by other unix-dependent code.
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 4e5dbfd..3340666 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -281,7 +281,7 @@ set_inaddr(struct in_addr *ia, ip_addr a) memcpy(&ia->s_addr, &a, sizeof(a)); } -static void +void fill_in_sockaddr(struct sockaddr_in *sa, ip_addr a, unsigned port) { sa->sin_family = AF_INET; |