Browse code

- added init_su alias: ip_addr2su

Andrei Pelinescu-Onciul authored on 14/10/2002 16:42:31
Showing 1 changed files
... ...
@@ -201,6 +201,8 @@ static inline void su2ip_addr(struct ip_addr* ip, union sockaddr_union* su)
201 201
 }
202 202
 
203 203
 
204
+/* ip_addr2su -> the same as init_su*/
205
+#define ip_addr2su init_su
204 206
 
205 207
 /* inits a struct sockaddr_union from a struct ip_addr and a port no 
206 208
  * returns 0 if ok, -1 on error (unknown address family) */