Commit 3b9c8f99 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3749] Minor fix in the isRelayed unit test as a result of the review.

parent 5c15d55e
// 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment