]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
minor cleanups, and add calculations for booleans
authorAlan T. DeKok <aland@freeradius.org>
Sun, 21 Nov 2021 22:28:17 +0000 (17:28 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 21 Nov 2021 22:28:17 +0000 (17:28 -0500)
commit1ea57191e264068d49dfe13f34bf0991902df9be
tree941c5fb220d3535e36f40a70a691031b37b78279
parent58d2816e02c911f33a861de3b39e901ab96d1b51
minor cleanups, and add calculations for booleans

it's still not clear what to do for IFIDs and ethernet addresses.
IFIDs are site-local integers, and likely should just be treated
as opaque blobs.

we may want to allow editing ethernet addresses, by splitting
them into OUI, or by merging OUI and trailing bits.  But for now
the caller might as well just convert them to octets, do the
opertions, and convert them back.
src/lib/util/calc.c