]> rtime.felk.cvut.cz Git - frescor/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)
commit72185659523264e23c5108f8bcfbbc520b8258fb
treeb1eedac5893713991e95a0fe564fbbf5b121c90e
parente3c2dddc2aa49602cea2289a0ba973a02923ef7f
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/proto_inet.c