// SkipRemainingOptionsError exception
TEST_F(Pkt6Test, truncatedVendorLength) {
- // Build a good discover packet
+ // Build a good Solicit packet
Pkt6Ptr pkt = test::PktCaptures::captureSolicitWithVIVSO();
// Unpacking should not throw
ASSERT_TRUE(vivso);
EXPECT_EQ(8, vivso->len()); // data + opt code + len
- // Build a bad discover packet
+ // Build a bad Solicit packet
pkt = test::PktCaptures::captureSolicitWithTruncatedVIVSO();
// Unpack should throw Skip exception
// Copyright (C) 2014-2018 Internet Systems Consortium, Inc. ("ISC")
//
-// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef PKT_CAPTURES_H