- Fix some more compiler warnings
Pre-ci tests passed git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4389 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -113,7 +113,11 @@ int set_gateway(char *interfaceName, char *gateway)
|
||||
|
||||
rt.rt_dev = interfaceName;
|
||||
//rt.rt_flags = RTF_UP|RTF_GATEWAY|RTF_DEFAULT;
|
||||
rt.rt_flags = RTF_GATEWAY|RTF_DEFAULT;
|
||||
/* SR: rt_flags on 16 bits but RTF_DEFAULT = 0x00010000
|
||||
* therefore doesn't lie in container -> disable it
|
||||
*/
|
||||
//rt.rt_flags = RTF_GATEWAY|RTF_DEFAULT;
|
||||
rt.rt_flags = RTF_GATEWAY;
|
||||
|
||||
if (ioctl(sock_fd, SIOCADDRT, &rt) < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user