X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FINet%2FConnectedRawINetSocketHandle.cc;h=47ca1e1716bc96a29d6bb58bd4a9e68127fdb1e0;hb=82bdae05d6507607d85dee7cbc1daf96eecf6e65;hp=bb0383140e78702ac98c2b5f5d203d1e9ab95e37;hpb=a2d850e1e85a8c86ac60007a254383c1f2b19351;p=senf.git diff --git a/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc b/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc index bb03831..47ca1e1 100644 --- a/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc +++ b/Socket/Protocols/INet/ConnectedRawINetSocketHandle.cc @@ -83,9 +83,9 @@ senf::ConnectedRawV6SocketProtocol::init_client(int const & protocol, INet6Socke const { init_client(protocol); - if(address.boolean_test()){ - //only connect if socket is not [::]:0, this results in an irreversible binding to the lo interface (linux 2.6.15) - clientHandle().connect(address); + if(address.boolean_test()) { + //only connect if socket is not [::]:0, this results in an irreversible binding to the lo interface (linux 2.6.15) + clientHandle().connect(address); } }