mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-16 08:43:17 +00:00
Fixed SNMP ASN constant defines to not use ! operator
This commit is contained in:
parent
9782c40d21
commit
21e17f649a
@ -229,6 +229,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2010-07-16: Kieran Mansley
|
||||||
|
* msg_in.c: Fixed SNMP ASN constant defines to not use ! operator
|
||||||
|
|
||||||
2010-07-10: Simon Goldschmidt
|
2010-07-10: Simon Goldschmidt
|
||||||
* ip.c: Fixed bug #30402: CHECKSUM_GEN_IP_INLINE does not add IP options
|
* ip.c: Fixed bug #30402: CHECKSUM_GEN_IP_INLINE does not add IP options
|
||||||
|
|
||||||
|
@ -46,12 +46,12 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SNMP_ASN1_UNIV (!0x80 | !0x40)
|
#define SNMP_ASN1_UNIV (0) /* (!0x80 | !0x40) */
|
||||||
#define SNMP_ASN1_APPLIC (!0x80 | 0x40)
|
#define SNMP_ASN1_APPLIC (0x40) /* (!0x80 | 0x40) */
|
||||||
#define SNMP_ASN1_CONTXT ( 0x80 | !0x40)
|
#define SNMP_ASN1_CONTXT (0x80) /* ( 0x80 | !0x40) */
|
||||||
|
|
||||||
#define SNMP_ASN1_CONSTR (0x20)
|
#define SNMP_ASN1_CONSTR (0x20) /* ( 0x20) */
|
||||||
#define SNMP_ASN1_PRIMIT (!0x20)
|
#define SNMP_ASN1_PRIMIT (0) /* (!0x20) */
|
||||||
|
|
||||||
/* universal tags */
|
/* universal tags */
|
||||||
#define SNMP_ASN1_INTEG 2
|
#define SNMP_ASN1_INTEG 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user