mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
Whitespace change - replace leading spaces with tabs.
This commit is contained in:
parent
d970bcc9db
commit
31083dbb03
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86843
@ -236,7 +236,7 @@ bdg_promisc_on()
|
||||
if (BDG_MUTED(ifp)) {
|
||||
printf(">> unmuting %s%d\n", ifp->if_name, ifp->if_unit);
|
||||
BDG_UNMUTE(ifp) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -399,7 +399,7 @@ SY(_net_link_ether, bdg_fw_count, "Cycle counter count");
|
||||
#endif
|
||||
|
||||
SYSCTL_STRUCT(_net_link_ether, PF_BDG, bdgstats,
|
||||
CTLFLAG_RD, &bdg_stats , bdg_stats, "bridge statistics");
|
||||
CTLFLAG_RD, &bdg_stats , bdg_stats, "bridge statistics");
|
||||
|
||||
static int bdg_loops ;
|
||||
|
||||
@ -413,7 +413,7 @@ flush_table()
|
||||
|
||||
s = splimp();
|
||||
for (i=0; i< HASH_SIZE; i++)
|
||||
bdg_table[i].name= NULL; /* clear table */
|
||||
bdg_table[i].name= NULL; /* clear table */
|
||||
splx(s);
|
||||
}
|
||||
|
||||
@ -572,10 +572,10 @@ bridge_in(struct ifnet *ifp, struct ether_header *eh)
|
||||
if ( old ) { /* the entry is valid. */
|
||||
IFP_CHK(old, printf("bridge_in-- reading table\n") );
|
||||
|
||||
if (!BDG_MATCH( eh->ether_shost, bdg_table[index].etheraddr) ) {
|
||||
if (!BDG_MATCH( eh->ether_shost, bdg_table[index].etheraddr) ) {
|
||||
bdg_ipfw_colls++ ;
|
||||
bdg_table[index].name = NULL ;
|
||||
} else if (old != ifp) {
|
||||
} else if (old != ifp) {
|
||||
/*
|
||||
* Found a loop. Either a machine has moved, or there
|
||||
* is a misconfiguration/reconfiguration of the network.
|
||||
@ -595,7 +595,7 @@ bridge_in(struct ifnet *ifp, struct ether_header *eh)
|
||||
if (++bdg_loops > 10)
|
||||
BDG_MUTE(old) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user