dns changes

This commit is contained in:
rsc 2006-02-20 19:38:29 +00:00
parent 772b39cd98
commit 49a1496cbb
9 changed files with 61 additions and 48 deletions

View file

@ -160,11 +160,9 @@ udpannounce(char *mntpt)
{
int fd;
char buf[40];
USED(mntpt);
snprint(buf, sizeof buf, "udp!*!%s", portname);
if((fd=announce(buf, buf)) < 0)
if((fd=announce(udpaddr, buf)) < 0)
warning("announce %s: %r", buf);
return fd;
}