We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f55e15 commit a487286Copy full SHA for a487286
src/ipv4/IPv4.ml
@@ -322,14 +322,6 @@ let write t ?(ttl = 38) ?src dst ~protocol p =
322
m ~tags:t.tags "not sending packet loopback (src %a dst %a)"
323
Ipaddr.V4.pp src Ipaddr.V4.pp dst);
324
Ok ()
325
- | Error `Any ->
326
- Log.debug (fun m ->
327
- m ~tags:t.tags "not sending packet to any %a" Ipaddr.V4.pp dst);
328
- Ok ()
329
- | Error `Broadcast ->
330
331
- m ~tags:t.tags "not sending packet from broadcast %a" Ipaddr.V4.pp src);
332
333
| Ok macaddr ->
334
write_directly t ~ttl src (dst, macaddr) ~protocol p;
335
0 commit comments