Skip to content

Commit

Permalink
segfault fix in router
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertvanheusden committed Nov 10, 2023
1 parent a70022e commit abbb6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ void router::operator()()
po.value()->src_mac = resolve_mac_by_addr(re_src, po.value()->src_ip.value());

if (po.value()->src_mac.has_value() == false)
DOLOG(ll_info, "router::operator: cannot determine mac for source (%s)\n", po.value()->src_mac.value().to_str().c_str());
DOLOG(ll_info, "router::operator: cannot determine mac for source\n");
}

if (po.value()->dst_mac.has_value() == false) {
Expand Down

0 comments on commit abbb6a2

Please sign in to comment.