AvahiHwInterface* avahi_interface_monitor_get_hw_interface(AvahiInterfaceMonitor *m, AvahiIfIndex idx) {
assert(m);
- assert(idx > 0);
+ assert(idx >= 0);
return avahi_hashmap_lookup(m->hashmap, &idx);
}
assert(m);
/* Some stupid OS don't support passing the interface index when a
- * packet is recieved. We have to work around that limitation by
+ * packet is received. We have to work around that limitation by
* looking for an interface that has the incoming address
* attached. This is sometimes ambiguous, but we have to live with
* it. */