28c28
< * $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.c 164410 2006-11-19 15:42:48Z syrinx $
---
> * $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.c 164997 2006-12-07 22:36:17Z syrinx $
122c122,123
< if ((bif = bridge_if_find_ifname(bif_default_name)) == NULL)
---
> if ((bif = bridge_if_find_ifname(bif_default_name)) == NULL) {
> bif_default = NULL;
123a125
> }
199a202,204
> if (val->v.integer < SNMP_BRIDGE_DATA_MAXAGE_MIN ||
> val->v.integer > SNMP_BRIDGE_DATA_MAXAGE_MAX)
> return (SNMP_ERR_WRONG_VALUE);
203a209,211
> if (val->v.integer < SNMP_BRIDGE_POLL_INTERVAL_MIN ||
> val->v.integer > SNMP_BRIDGE_POLL_INTERVAL_MAX)
> return (SNMP_ERR_WRONG_VALUE);
< * $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.c 164410 2006-11-19 15:42:48Z syrinx $
---
> * $FreeBSD: head/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.c 164997 2006-12-07 22:36:17Z syrinx $
122c122,123
< if ((bif = bridge_if_find_ifname(bif_default_name)) == NULL)
---
> if ((bif = bridge_if_find_ifname(bif_default_name)) == NULL) {
> bif_default = NULL;
123a125
> }
199a202,204
> if (val->v.integer < SNMP_BRIDGE_DATA_MAXAGE_MIN ||
> val->v.integer > SNMP_BRIDGE_DATA_MAXAGE_MAX)
> return (SNMP_ERR_WRONG_VALUE);
203a209,211
> if (val->v.integer < SNMP_BRIDGE_POLL_INTERVAL_MIN ||
> val->v.integer > SNMP_BRIDGE_POLL_INTERVAL_MAX)
> return (SNMP_ERR_WRONG_VALUE);