]> rtime.felk.cvut.cz Git - frescor/frsh-forb.git/commit
forb: Do not compile inet_broadcast if it is not used
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 19 Feb 2011 13:42:16 +0000 (14:42 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 19 Feb 2011 15:21:32 +0000 (16:21 +0100)
commitbc2fe8748a2c3ddfbfc7340c6caeabc2c9c346b8
treeb2e7ba8ea91e86f8111baccbb1d1870c0f6f48d3
parent196e7a902fe367d6dda42135ef2fb93fb7e5ccf5
forb: Do not compile inet_broadcast if it is not used

When inet is the default protocol, broadcasts are not used (because they
are not reliable). Previously, if inet was the default, we didn't bind the
socket to multicast address and thus we were not able to receive the
broadcasts. This situation was confusing and therefore it is better omit
the implementation of inet_broadcast entirely to make this clear that it
is not used.
src/forb/src/proto_inet.c