common.c (mrouted-4.3) | : | common.c (mrouted-4.4) | ||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
{ "cache", DEBUG_CACHE, 1 }, | { "cache", DEBUG_CACHE, 1 }, | |||
{ "timer", DEBUG_TIMEOUT, 2 }, | { "timer", DEBUG_TIMEOUT, 2 }, | |||
{ "interface", DEBUG_IF, 2 }, | { "interface", DEBUG_IF, 2 }, | |||
{ "vif", DEBUG_IF, 1 }, | { "vif", DEBUG_IF, 1 }, | |||
{ "membership", DEBUG_MEMBER, 1 }, | { "membership", DEBUG_MEMBER, 1 }, | |||
{ "groups", DEBUG_MEMBER, 1 }, | { "groups", DEBUG_MEMBER, 1 }, | |||
{ "traceroute", DEBUG_TRACE, 2 }, | { "traceroute", DEBUG_TRACE, 2 }, | |||
{ "mtrace", DEBUG_TRACE, 2 }, | { "mtrace", DEBUG_TRACE, 2 }, | |||
{ "igmp", DEBUG_IGMP, 1 }, | { "igmp", DEBUG_IGMP, 1 }, | |||
{ "icmp", DEBUG_ICMP, 2 }, | { "icmp", DEBUG_ICMP, 2 }, | |||
{ "rsrr", DEBUG_RSRR, 2 }, | ||||
{ "all", DEBUG_ALL, 1 }, | { "all", DEBUG_ALL, 1 }, | |||
{ "3", DEBUG_ALL, 1 } /* compat. */ | { "3", DEBUG_ALL, 1 } /* compat. */ | |||
}; | }; | |||
int debug_list(int mask, char *buf, size_t len) | int debug_list(int mask, char *buf, size_t len) | |||
{ | { | |||
struct debugnm *d; | struct debugnm *d; | |||
uint32_t last = 0; | uint32_t last = 0; | |||
size_t i; | size_t i; | |||
skipping to change at line 134 | skipping to change at line 133 | |||
sys |= d->level; | sys |= d->level; | |||
arg = next; | arg = next; | |||
} | } | |||
return sys; | return sys; | |||
} | } | |||
/** | /** | |||
* Local Variables: | * Local Variables: | |||
* indent-tabs-mode: t | * indent-tabs-mode: t | |||
* c-file-style: "ellemtel" | * c-file-style: "cc-mode" | |||
* c-basic-offset: 4 | ||||
* End: | * End: | |||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added |