Removed IN_ADDR_NONE
This commit is contained in:
parent
ff9985cb36
commit
b73f23a78d
|
@ -936,7 +936,7 @@ int create_pdp_conf(struct pdp_t *pdp, void *cbp, int cause) {
|
||||||
#ifdef HAVE_INET_ATON
|
#ifdef HAVE_INET_ATON
|
||||||
inet_aton("255.255.255.255", &m);
|
inet_aton("255.255.255.255", &m);
|
||||||
#else
|
#else
|
||||||
m.s_addr = INADDR_NONE;
|
m.s_addr = -1;
|
||||||
#endif
|
#endif
|
||||||
/* printf("Setting up interface and routing\n");*/
|
/* printf("Setting up interface and routing\n");*/
|
||||||
tun_addaddr(tun, &addr, &addr, &m);
|
tun_addaddr(tun, &addr, &addr, &m);
|
||||||
|
|
Reference in New Issue