mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
Explicitly specify ATPROTO_DDP constant rather than '0' when binding
a netatalk socket. No functional change.
This commit is contained in:
parent
0ad9506fab
commit
f8254af5ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132304
@ -68,7 +68,7 @@ socket_between(struct sockaddr_at *from, struct sockaddr_at *to)
|
||||
{
|
||||
int s;
|
||||
|
||||
s = socket(PF_APPLETALK, SOCK_DGRAM, 0);
|
||||
s = socket(PF_APPLETALK, SOCK_DGRAM, ATPROTO_DDP);
|
||||
if (s == -1)
|
||||
errx(1, "socket: %s\n", strerror(errno));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user