Instead of calling enable_color() conditionally with identical check in three places, introduce check_enable_color() which does it in one place. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: David Ahern <dsahern@gmail.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| br_common.h | ||
| bridge.c | ||
| fdb.c | ||
| link.c | ||
| mdb.c | ||
| monitor.c | ||
| vlan.c | ||