8213490: Networking area typos and inconsistencies cleanup

Reviewed-by: alanb, chegar, dfuchs
This commit is contained in:
Pavel Rappo 2018-11-13 12:24:34 +00:00
parent 56db122656
commit 8c361a3e74
42 changed files with 87 additions and 87 deletions

View file

@ -1087,7 +1087,7 @@ int getDefaultIPv6Interface(struct in6_addr *target_addr) {
* dest_plen % 8 => number of additional bits to match
*
* eg: fe80::/10 => match 1 byte + 2 additional bits in the
* the next byte.
* next byte.
*/
int byte_count = dest_plen >> 3;
int extra_bits = dest_plen & 0x3;