mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 18:59:37 +00:00
Avoid construction which results in label at end of block.
This commit is contained in:
parent
b055b157dc
commit
5c7417c4d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97637
@ -983,12 +983,16 @@ getaddr(which, s, hpp)
|
|||||||
switch (which) {
|
switch (which) {
|
||||||
case RTA_DST:
|
case RTA_DST:
|
||||||
forcenet++;
|
forcenet++;
|
||||||
/* bzero(su, sizeof(*su)); *//* for readability */
|
#if 0
|
||||||
|
bzero(su, sizeof(*su)); /* for readability */
|
||||||
|
#endif
|
||||||
(void) getaddr(RTA_NETMASK, s, 0);
|
(void) getaddr(RTA_NETMASK, s, 0);
|
||||||
break;
|
break;
|
||||||
|
#if 0
|
||||||
case RTA_NETMASK:
|
case RTA_NETMASK:
|
||||||
case RTA_GENMASK:
|
case RTA_GENMASK:
|
||||||
/* bzero(su, sizeof(*su)); *//* for readability */
|
bzero(su, sizeof(*su)); /* for readability */
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user