summaryrefslogtreecommitdiff
path: root/server/dispatch.c
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-04-19 04:55:11 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-04-19 04:55:11 +0000
commit5ffbe9b843b01cf769e40c357344a213b85959a3 (patch)
tree11b3ea181915922cf546cbd063478d2eb6beda30 /server/dispatch.c
parent8efc3c3886115ee61fc6f43a7ecb6cb1a63b7bd6 (diff)
For now, host managers have IPv4 addresses.
Really, it almost terrifies me that servers have probably been sending shutdown messages to stack-garbage address families for the past two decades
Diffstat (limited to 'server/dispatch.c')
-rw-r--r--server/dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/dispatch.c b/server/dispatch.c
index a77d550..01ec6cd 100644
--- a/server/dispatch.c
+++ b/server/dispatch.c
@@ -1172,6 +1172,7 @@ hostm_shutdown(void)
break;
}
newserver = (i < nservers);
+ sin.sin_family = AF_INET;
for (i = 0; i < num_hosts; i++) {
sin.sin_addr = hosts[i];
sin.sin_port = hm_port;
@@ -1269,4 +1270,3 @@ hm_recipient(void)
strcat (recipient, realm);
return recipient;
}
-