fixed small operator priority bug; ! has higher precedence than & in

(!flags & FLAGCHECK)
This commit is contained in:
Ben Gras 2005-07-05 11:08:15 +00:00
parent 904cf1f84d
commit 493ab97a8d

View file

@ -122,7 +122,7 @@ PUBLIC void osdep_eth_init()
rport= eth_port->etp_osdep.etp_port;
assert(rport >= 0 && rport < eth_conf_nr);
rep= &eth_port_table[rport];
if (!rep->etp_flags & EPF_ENABLED)
if (!(rep->etp_flags & EPF_ENABLED))
{
printf(
"eth%d: underlying ethernet device %d not enabled",