diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-06 01:13:31 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-06 01:13:31 +0000 |
commit | 72a1ab426e87e8cc4fcb5dd4659e67a9e47feb3c (patch) | |
tree | e582d93b434c29ccfecd38afb62b714fb93dc5ce /src/login_sql | |
parent | f180cda1a2d7a0315508d9ff8f4c1f3196229207 (diff) | |
download | hercules-72a1ab426e87e8cc4fcb5dd4659e67a9e47feb3c.tar.gz hercules-72a1ab426e87e8cc4fcb5dd4659e67a9e47feb3c.tar.bz2 hercules-72a1ab426e87e8cc4fcb5dd4659e67a9e47feb3c.tar.xz hercules-72a1ab426e87e8cc4fcb5dd4659e67a9e47feb3c.zip |
didn't finsih bind code, now it's finished but export code isn't
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1048 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-rw-r--r-- | src/login_sql/login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 97e25a3a3..a0c3ae1f2 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -1597,10 +1597,10 @@ int login_config_read(const char *cfgName){ if(i!=2) continue; else if (strcmpi(w1, "bind_ip") == 0) { - //login_ip_set_ = 1; + //bind_ip_set_ = 1; h = gethostbyname (w2); if (h != NULL) { - printf("Login server IP address : %s -> %d.%d.%d.%d\n", w2, (unsigned char)h->h_addr[0], (unsigned char)h->h_addr[1], (unsigned char)h->h_addr[2], (unsigned char)h->h_addr[3]); + printf("Login server binding IP address : %s -> %d.%d.%d.%d\n", w2, (unsigned char)h->h_addr[0], (unsigned char)h->h_addr[1], (unsigned char)h->h_addr[2], (unsigned char)h->h_addr[3]); sprintf(bind_ip_str, "%d.%d.%d.%d", (unsigned char)h->h_addr[0], (unsigned char)h->h_addr[1], (unsigned char)h->h_addr[2], (unsigned char)h->h_addr[3]); } else memcpy(bind_ip_str,w2,16); |