Explicitly specify ATPROTO_DDP constant rather than '0' when binding

a netatalk socket.  No functional change.
This commit is contained in:
Robert Watson 2004-07-17 17:16:16 +00:00
parent 0ad9506fab
commit f8254af5ce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132304

View File

@ -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));