Dev/fix port size (#805)

* port datatype changing from int to uint16_t
* throwing for -1 given for uint16_t ports
This commit is contained in:
maliakal_d authored and GitHub committed 2023-09-28 09:36:39 +02:00
1 parent 77d13f0794
commit 9834b07b47
61 files changed
+519 -345

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ TEST_CASE("Copy construct a MacAddr") {
}
TEST_CASE("udp dst struct basic properties") {
static_assert(sizeof(UdpDestination) == 36,
static_assert(sizeof(UdpDestination) == 32,
"udpDestination struct size does not match");
UdpDestination dst{};
REQUIRE(dst.entry == 0);