Include proto in API, no matter what build options
authorAlan T. DeKok <aland@freeradius.org>
Sun, 27 Sep 2009 16:23:18 +0000 (18:23 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 27 Sep 2009 16:23:18 +0000 (18:23 +0200)
commit4c886e11f1e92f4d7b6f43d81b5ca0dcf57719da
tree595b2a7e573e90cdb041b484329fe0ec658cd242
parent8d4c6fbfbf1d5c62ff29fc246a8df719cbee3cbb
Include proto in API, no matter what build options

It's too hardware to have proto as a compile-time option
for the API.  Instead, we add it everywhere.  This slows down the
UDP-only case, but ensures that we can distinguish between a
home server of (ip,port) udp, and a home server of the same (ip,port)
and tcp
src/include/packet.h
src/include/radiusd.h
src/include/realms.h
src/lib/packet.c
src/main/client.c
src/main/command.c
src/main/event.c
src/main/listen.c
src/main/realms.c