diff options
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/dial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9/dial.c b/src/lib9/dial.c index 08cd99b6..7c7f7480 100644 --- a/src/lib9/dial.c +++ b/src/lib9/dial.c @@ -85,7 +85,7 @@ p9dial(char *addr, char *local, char *dummy2, int *dummy3) goto badlocal; } memset(&sal, 0, sizeof sal); - memmove(&sal.sin_addr, &local, 4); + memmove(&sal.sin_addr, &host, 4); sal.sin_family = AF_INET; sal.sin_port = htons(port); sn = sizeof n; |