summaryrefslogtreecommitdiff
path: root/tools/regression/netatalk/simple_send/simple_send.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-07-17 17:16:16 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-07-17 17:16:16 +0000
commitf8254af5ce9ff7dbf500074ffea19eca7a450528 (patch)
treeacb2a1006b69fb86e0dc00eac799b188db9054ae /tools/regression/netatalk/simple_send/simple_send.c
parent0ad9506fab5f6a8daf7a7001e1c87d1b1f3db2fd (diff)
downloadsrc-test2-f8254af5ce9ff7dbf500074ffea19eca7a450528.tar.gz
src-test2-f8254af5ce9ff7dbf500074ffea19eca7a450528.zip
Notes
Diffstat (limited to 'tools/regression/netatalk/simple_send/simple_send.c')
-rw-r--r--tools/regression/netatalk/simple_send/simple_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/netatalk/simple_send/simple_send.c b/tools/regression/netatalk/simple_send/simple_send.c
index e2e5740aef54..162253c1d1eb 100644
--- a/tools/regression/netatalk/simple_send/simple_send.c
+++ b/tools/regression/netatalk/simple_send/simple_send.c
@@ -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));