* opt.h, ip.c: Rename IP_OPTIONS define to IP_OPTIONS_ALLOWED to avoid

conflict with Linux system headers.
This commit is contained in:
jifl
2008-01-09 10:05:23 +00:00
parent de4b9b584c
commit b333b7c9dc
3 changed files with 12 additions and 8 deletions

View File

@@ -342,12 +342,12 @@
#endif
/**
* IP_OPTIONS: Defines the behavior for IP options.
* IP_OPTIONS==0: All packets with IP options are dropped.
* IP_OPTIONS==1: IP options are allowed (but not parsed).
* IP_OPTIONS_ALLOWED: Defines the behavior for IP options.
* IP_OPTIONS_ALLOWED==0: All packets with IP options are dropped.
* IP_OPTIONS_ALLOWED==1: IP options are allowed (but not parsed).
*/
#ifndef IP_OPTIONS
#define IP_OPTIONS 1
#ifndef IP_OPTIONS_ALLOWED
#define IP_OPTIONS_ALLOWED 1
#endif
/**