@@ -1,14 +1,3 @@
---- sophie.c.orig 2012-08-06 21:08:27.047795936 +0200
-+++ sophie.c 2012-08-06 21:09:10.295794318 +0200
-@@ -536,7 +536,7 @@
-
- bzero((char *) &tcp_sock_data, sizeof(tcp_sock_data));
- tcp_sock_data.sin_family = AF_INET;
-- tcp_sock_data.sin_addr.s_addr = htonl(INADDR_ANY); /* FIXME: configurable? */
-+ tcp_sock_data.sin_addr.s_addr = htonl(config.net_addr);
- tcp_sock_data.sin_port = htons(config.net_port);
-
- setsockopt(tcp_sock, SOL_SOCKET, SO_REUSEADDR, &reuse_addr, sizeof(reuse_addr));
--- sophie_init.c.orig 2012-08-06 21:08:39.407799549 +0200
+++ sophie_init.c 2012-08-06 21:16:49.543795199 +0200
@@ -80,6 +80,7 @@
@@ -73,3 +62,14 @@
int net_port;
char net_tempdir[256];
#endif
+--- sophie.c.orig 2012-08-06 21:08:27.047795936 +0200
++++ sophie.c 2012-08-06 21:44:05.103795835 +0200
+@@ -536,7 +536,7 @@
+
+ bzero((char *) &tcp_sock_data, sizeof(tcp_sock_data));
+ tcp_sock_data.sin_family = AF_INET;
+- tcp_sock_data.sin_addr.s_addr = htonl(INADDR_ANY); /* FIXME: configurable? */
++ tcp_sock_data.sin_addr.s_addr = htonl(inet_addr(config.net_addr));
+ tcp_sock_data.sin_port = htons(config.net_port);
+
+ setsockopt(tcp_sock, SOL_SOCKET, SO_REUSEADDR, &reuse_addr, sizeof(reuse_addr));
|