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:
1273
tests/depends.d
1273
tests/depends.d
File diff suppressed because it is too large
Load Diff
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user