summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-04 20:52:28 +0000
committerMartin Mares <mj@ucw.cz>2000-05-04 20:52:28 +0000
commit9a220cabbc28a4e54f814aa5d596696a15e6544d (patch)
treee1cf20c35193f47abf86dd2c7d5bae0ac8107bb6 /nest
parentb3acb10632ce9fa492a92ced1e533f0bf5edee21 (diff)
#ifdef out lots of debugging information.
The long resource/routing table dump printed upon startup is gone now and if you wish to see it, just send bird SIGUSR1 or use the `debug' commands.
Diffstat (limited to 'nest')
-rw-r--r--nest/iface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/iface.c b/nest/iface.c
index c585a531..16961bfa 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -152,7 +152,9 @@ if_notify_change(unsigned c, struct iface *i)
}
DBG("Interface change notification (%x) for %s\n", c, i->name);
+#ifdef LOCAL_DEBUG
if_dump(i);
+#endif
if (c & IF_CHANGE_UP)
neigh_if_up(i);