- BUILD_IPV6=false
before_script:
- - sudo apt-get install libssl-dev libssl0.9.8 libssl1.0.0
+ - sudo apt-get install libssl-dev libssl0.9.8 libssl1.0.0 libdnet-dev libsmi2-dev
- if [ "$BUILD_LIBPCAP" = "true" ]; then ( cd ../ && git clone git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure && make ); else sudo apt-get install libpcap-dev; fi
script:
/*
- * This module implements decoding of the the Loopback Protocol, originally
+ * This module implements decoding of the Loopback Protocol, originally
* defined as the Configuration Testing Protocol. It is based on the following
* specification:
* http://www.mit.edu/people/jhawk/ctp.pdf
}
ND_TCHECK2(*(p + 2), 1);
ND_PRINT((ndo, ": Features: %u, PxP: %s, History: %u, #CTX-ID: %u",
- (p[2] & 0xc0) >> 5,
- (p[2] & 0x200) ? "Enabled" : "Disabled",
+ (p[2] & 0xc0) >> 6,
+ (p[2] & 0x20) ? "Enabled" : "Disabled",
p[2] & 0x1f, p[3]));
break;
case CCPOPT_DEFLATE:
}
/*
- * Otherwise, if the there is a skip in
+ * Otherwise, if there is a skip in
* the range (such as an nacked packet in
* the middle of some acked packets),
* then print the current packet number
}
if (buflen != 0) { /* did we find anything */
- /* yep, set the the trailing zero 2 bytes before to eliminate the last comma & whitespace */
+ /* yep, set the trailing zero 2 bytes before to eliminate the last comma & whitespace */
buf[buflen-2] = '\0';
return (buf);
}