Fix listen mode (-l)

This commit is contained in:
hpa 2001-11-20 19:45:11 +00:00
parent e06f1b61f1
commit f9e7950883
3 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,9 @@
$Id$ $Id$
Changes in 0.28:
Fix stupid one-liner bug which broke standalone mode (-l).
Changes in 0.27: Changes in 0.27:
Make the Digital Unix 4.0F platform work again. Thanks to Make the Digital Unix 4.0F platform work again. Thanks to
Alan Sundell for helping out with this platform! Alan Sundell for helping out with this platform!

View file

@ -313,6 +313,7 @@ main(int argc, char **argv)
fd = socket(PF_INET, SOCK_DGRAM, 0); fd = socket(PF_INET, SOCK_DGRAM, 0);
memset(&bindaddr, 0, sizeof bindaddr); memset(&bindaddr, 0, sizeof bindaddr);
bindaddr.sin_family = AF_INET;
bindaddr.sin_addr.s_addr = INADDR_ANY; bindaddr.sin_addr.s_addr = INADDR_ANY;
bindaddr.sin_port = htons(IPPORT_TFTP); bindaddr.sin_port = htons(IPPORT_TFTP);

View file

@ -1 +1 @@
0.27 0.28