+2002-11-06 Martin Mares <mj@ucw.cz>
+
+ * nwhod.c (net_init): Added missing htons() on port number.
+
+ * Released as version 1.12 (note that this version is incompatible
+ with 1.11 and 1.10 peers as they use the wrong port number unless
+ they run on big-endian machines).
+
2002-10-04 Martin Mares <mj@ucw.cz>
* When a server stops responding, keep its record for a longer
CFLAGS=-O2 -Wall -Wno-parentheses
LDFLAGS=-s
ROOT=/
-REL=nwho-1.10
+REL=nwho-1.12
all: nwhod nwho
+nwho (1.12) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Martin Mares <mj@ucw.cz> Wed, 6 Nov 2002 16:46:45 +0100
+
nwho (1.11) unstable; urgency=low
* New upstream version.
Begin3
Title: ywho
-Version: 1.11
-Entered-date: 021004
+Version: 1.12
+Entered-date: 021106
Description: A rwhod replacement with central server, allowing user
information to be gathered across routers.
Keywords: rwho
Author: Martin Mares <mj@atrey.karlin.mff.cuni.cz>
Maintained-by: Martin Mares <mj@atrey.karlin.mff.cuni.cz>
-Primary-site: atrey.karlin.mff.cuni.cz/pub/local/mj/linux/nwho-1.11.tar.gz
+Primary-site: atrey.karlin.mff.cuni.cz/pub/local/mj/linux/nwho-1.12.tar.gz
Alternate-site: metalab.unc.edu/pub/Linux/system/status
Copying-policy: GPL
End
die("socket: %m");
sa.sin_family = AF_INET;
- sa.sin_port = port = NWHO_PORT;
+ sa.sin_port = port = htons(NWHO_PORT);
sa.sin_addr.s_addr = INADDR_ANY;
if (bind(sock, (struct sockaddr *) &sa, sizeof(sa)) < 0)
die("bind: %m");