Add ping rate tests, discover_peer helper, standardize prepend_buffer to 4096
This commit is contained in:
@@ -25,7 +25,7 @@ void handle(std::span<const uint8_t> frame, span_writer& tx,
|
||||
if (!icmp_pkt) return;
|
||||
if (icmp_pkt->type != 8) return;
|
||||
|
||||
prepend_buffer<1514> buf;
|
||||
prepend_buffer<4096> buf;
|
||||
memcpy(buf.append(icmp_len), pb.remaining().data() - sizeof(echo), icmp_len);
|
||||
|
||||
auto* reply = reinterpret_cast<echo*>(buf.data());
|
||||
|
||||
Reference in New Issue
Block a user