1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Keep porting ICMPv6 to use PDUOption::to<>.

This commit is contained in:
Matias Fontanini
2013-12-17 00:10:26 -03:00
parent ea6638c163
commit 069ae82b10
5 changed files with 1287 additions and 410 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -281,8 +281,9 @@ TEST_F(ICMPv6Test, RSASignature) {
TEST_F(ICMPv6Test, Timestamp) {
ICMPv6 icmp;
icmp.timestamp(0x2837d6aaa231ULL);
EXPECT_EQ(icmp.timestamp(), 0x2837d6aaa231ULL);
ICMPv6::timestamp_type ts(0x2837d6aaa231ULL);
icmp.timestamp(ts);
EXPECT_EQ(ts.timestamp, icmp.timestamp().timestamp);
}
TEST_F(ICMPv6Test, Nonce) {