From a5861a4c81bb616b7fba2028cf9ee31f890357c5 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 8 Sep 2013 19:43:28 -0700 Subject: Use IP4 classes and rename conf variables --- src/common/md5calc.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common/md5calc.hpp') diff --git a/src/common/md5calc.hpp b/src/common/md5calc.hpp index 98f44d6..70a996e 100644 --- a/src/common/md5calc.hpp +++ b/src/common/md5calc.hpp @@ -11,6 +11,7 @@ #include +#include "ip.hpp" #include "mmo.hpp" #include "strings.hpp" @@ -53,7 +54,7 @@ SaltString make_salt(void); /// check plaintext password against saved saltcrypt bool pass_ok(AccountPass password, AccountCrypt crypted); -/// This returns an in_addr because it is configurable whether it gets called at all -struct in_addr MD5_ip(struct in_addr ip); +/// This returns an IP4Address because it is configurable whether it gets called at all +IP4Address MD5_ip(IP4Address ip); #endif // MD5CALC_HPP -- cgit v1.2.3-70-g09d2