diff options
| author | 2015-10-25 00:42:02 +0000 | |
|---|---|---|
| committer | 2015-10-25 00:42:02 +0000 | |
| commit | c7d2d484bc7cc43f575409d5359ce3e016d18466 (patch) | |
| tree | 1154e77fd38c645853c3f208d624ea310c2d4731 /usr.sbin/bind/lib/isc/unix/net.c | |
| parent | Add a few more overflow protections in the DUAL state (diff) | |
| download | wireguard-openbsd-c7d2d484bc7cc43f575409d5359ce3e016d18466.tar.xz wireguard-openbsd-c7d2d484bc7cc43f575409d5359ce3e016d18466.zip | |
When converting the real bandwidth to the composite bandwidth, truncate
before applying the scaling factor.
When converting the composite bandwidth to the real bandwidth, apply
the scaling factor before the division and only then truncate.
This is to keep consistent with what Cisco does, the draft is unclear
on this point.
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/net.c')
0 files changed, 0 insertions, 0 deletions
