X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FRaw%2FLLAddressing.cc;h=1dac99711f9ce12a847e21043390abf04ba80b61;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=1ee604600e61383b75a086ec6d51729057cfbd4e;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Socket/Protocols/Raw/LLAddressing.cc b/senf/Socket/Protocols/Raw/LLAddressing.cc index 1ee6046..1dac997 100644 --- a/senf/Socket/Protocols/Raw/LLAddressing.cc +++ b/senf/Socket/Protocols/Raw/LLAddressing.cc @@ -54,7 +54,7 @@ prefix_ std::string senf::LLSocketAddress::interface() prefix_ void senf::LLSocketAddress::interface(std::string const & iface) { - if (iface.empty()) + if (iface.empty()) addr_.sll_ifindex = 0; else { addr_.sll_ifindex = if_nametoindex(iface.c_str()); @@ -66,7 +66,7 @@ prefix_ void senf::LLSocketAddress::interface(std::string const & iface) prefix_ std::ostream & senf::operator<<(std::ostream & os, LLSocketAddress const & llAddr) { os << "[" << llAddr.address() - << '%' << llAddr.interface() + << '%' << llAddr.interface() << ' ' << llAddr.protocol() << ' ' << llAddr.arptype() << ( llAddr.pkttype() == senf::LLSocketAddress::Host ? " Host" :