"no debug ospf packet all detail" does not cancel "debug ospf packet all detail"
due to the code inconsistency in setting/unsetting debug flags.
* ospf_dump.c: added missing flags.
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
(cherry picked from commit
b075e8728f650b0850e20fdf8dde467440a24b28)
else if (strncmp (argv[arg_base + 1], "r", 1) == 0)
flag = OSPF_DEBUG_RECV | OSPF_DEBUG_DETAIL;
else if (strncmp (argv[arg_base + 1], "d", 1) == 0)
- flag = OSPF_DEBUG_DETAIL;
+ flag = OSPF_DEBUG_DETAIL | OSPF_DEBUG_RECV | OSPF_DEBUG_DETAIL;
}
/* detail. */