dns changes
This commit is contained in:
parent
772b39cd98
commit
49a1496cbb
9 changed files with 61 additions and 48 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue