mirror of https://github.com/F-Stack/f-stack.git
Add IP_MINTTL flag in ff_syscall_wrapper.c.
This commit is contained in:
parent
4f02579eda
commit
b3fc40d0d7
|
@ -90,6 +90,7 @@
|
||||||
#define LINUX_IP_OPTIONS 4
|
#define LINUX_IP_OPTIONS 4
|
||||||
#define LINUX_IP_RECVTTL 12
|
#define LINUX_IP_RECVTTL 12
|
||||||
#define LINUX_IP_RECVTOS 13
|
#define LINUX_IP_RECVTOS 13
|
||||||
|
#define LINUX_IP_MINTTL 21
|
||||||
|
|
||||||
#define LINUX_IP_MULTICAST_IF 32
|
#define LINUX_IP_MULTICAST_IF 32
|
||||||
#define LINUX_IP_MULTICAST_TTL 33
|
#define LINUX_IP_MULTICAST_TTL 33
|
||||||
|
@ -403,6 +404,8 @@ ip_opt_convert(int optname)
|
||||||
return IP_RECVTTL;
|
return IP_RECVTTL;
|
||||||
case LINUX_IP_RECVTOS:
|
case LINUX_IP_RECVTOS:
|
||||||
return IP_RECVTOS;
|
return IP_RECVTOS;
|
||||||
|
case LINUX_IP_MINTTL:
|
||||||
|
return IP_MINTTL;
|
||||||
default:
|
default:
|
||||||
return optname;
|
return optname;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue