summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-19 20:51:31 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-19 20:51:31 +0800
commit1fdac6ba5e7f59deaf387ecfa7dda724f7593dba (patch)
treefe7b29547b29cd94966b30f78c9ed7b86e8669c3
parent3be9884d277f0ce2235b801667d85ce57e41cb89 (diff)
downloadpttbbs-1fdac6ba5e7f59deaf387ecfa7dda724f7593dba.tar
pttbbs-1fdac6ba5e7f59deaf387ecfa7dda724f7593dba.tar.gz
pttbbs-1fdac6ba5e7f59deaf387ecfa7dda724f7593dba.tar.bz2
pttbbs-1fdac6ba5e7f59deaf387ecfa7dda724f7593dba.tar.lz
pttbbs-1fdac6ba5e7f59deaf387ecfa7dda724f7593dba.tar.xz
pttbbs-1fdac6ba5e7f59deaf387ecfa7dda724f7593dba.tar.zst
pttbbs-1fdac6ba5e7f59deaf387ecfa7dda724f7593dba.zip
* use public defined address instead of local definition
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--daemon/fromd/fromd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/fromd/fromd.c b/daemon/fromd/fromd.c
index c350c4fa..b3ca6df8 100644
--- a/daemon/fromd/fromd.c
+++ b/daemon/fromd/fromd.c
@@ -58,7 +58,7 @@ static void listen_cb(int fd, short event, void *arg)
int main(int argc, char *argv[])
{
int ch, sfd;
- char *iface_ip = ":5130";
+ char *iface_ip = FROMD_ADDR;
Signal(SIGPIPE, SIG_IGN);