From 3b9c8f999e4f398c550630a38395972193345ec6 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Tue, 17 Mar 2015 16:49:33 +0100 Subject: [PATCH] [3749] Minor fix in the isRelayed unit test as a result of the review. --- src/lib/dhcp/tests/pkt4_unittest.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/dhcp/tests/pkt4_unittest.cc b/src/lib/dhcp/tests/pkt4_unittest.cc index 523ea8c727..39da5e5bdd 100644 --- a/src/lib/dhcp/tests/pkt4_unittest.cc +++ b/src/lib/dhcp/tests/pkt4_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2014 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC") // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above @@ -819,6 +819,7 @@ TEST_F(Pkt4Test, isRelayed) { // Setting the giaddr to 255.255.255.255 should not cause it to // be relayed message. pkt.setGiaddr(IOAddress(IOAddress::IPV4_BCAST_ADDRESS())); + EXPECT_FALSE(pkt.isRelayed()); } // Tests whether a packet can be assigned to a class and later -- 2.47.2