Explorar o código

- added init_su alias: ip_addr2su

Andrei Pelinescu-Onciul %!s(int64=23) %!d(string=hai) anos
pai
achega
156b277b41
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      ip_addr.h

+ 2 - 0
ip_addr.h

@@ -201,6 +201,8 @@ static inline void su2ip_addr(struct ip_addr* ip, union sockaddr_union* su)
 }
 
 
+/* ip_addr2su -> the same as init_su*/
+#define ip_addr2su init_su
 
 /* inits a struct sockaddr_union from a struct ip_addr and a port no 
  * returns 0 if ok, -1 on error (unknown address family) */