Fix whitespace.
This commit is contained in:
parent
58f4b845b9
commit
d917c8cb6b
73 changed files with 474 additions and 478 deletions
|
|
@ -104,7 +104,7 @@ static int subnet_compare_mac(const subnet_t *a, const subnet_t *b) {
|
|||
|
||||
if(result)
|
||||
return result;
|
||||
|
||||
|
||||
result = a->weight - b->weight;
|
||||
|
||||
if(result || !a->owner || !b->owner)
|
||||
|
|
@ -125,7 +125,7 @@ static int subnet_compare_ipv4(const subnet_t *a, const subnet_t *b) {
|
|||
|
||||
if(result)
|
||||
return result;
|
||||
|
||||
|
||||
result = a->weight - b->weight;
|
||||
|
||||
if(result || !a->owner || !b->owner)
|
||||
|
|
@ -141,12 +141,12 @@ static int subnet_compare_ipv6(const subnet_t *a, const subnet_t *b) {
|
|||
|
||||
if(result)
|
||||
return result;
|
||||
|
||||
|
||||
result = memcmp(&a->net.ipv6.address, &b->net.ipv6.address, sizeof(ipv6_t));
|
||||
|
||||
if(result)
|
||||
return result;
|
||||
|
||||
|
||||
result = a->weight - b->weight;
|
||||
|
||||
if(result || !a->owner || !b->owner)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue