mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Exporting fill_in_sockaddr() for use by other unix-dependent code.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user