summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/sync-if.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-13 19:42:00 +0100
committerMartin Mares <mj@ucw.cz>1999-02-13 19:42:00 +0100
commit4e9498cbb171d52e2f3015d3e9d6c7b1b7205e27 (patch)
tree1a65ae5e77e34f43611469568aa1c1ed2010b158 /sysdep/unix/sync-if.c
parent67bd949a520151a5ab50090d02617adc4960868c (diff)
downloadbird-4e9498cbb171d52e2f3015d3e9d6c7b1b7205e27.tar
bird-4e9498cbb171d52e2f3015d3e9d6c7b1b7205e27.zip
config->router_id works again.
Diffstat (limited to 'sysdep/unix/sync-if.c')
-rw-r--r--sysdep/unix/sync-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/sync-if.c b/sysdep/unix/sync-if.c
index cec3e86..077cb94 100644
--- a/sysdep/unix/sync-if.c
+++ b/sysdep/unix/sync-if.c
@@ -40,7 +40,7 @@ scan_ifs(struct ifreq *r, int cnt)
for (cnt /= sizeof(struct ifreq); cnt; cnt--, r++)
{
bzero(&i, sizeof(i));
- debug("%s\n", r->ifr_ifrn.ifrn_name);
+ DBG("%s\n", r->ifr_ifrn.ifrn_name);
strncpy(i.name, r->ifr_ifrn.ifrn_name, sizeof(i.name) - 1);
i.name[sizeof(i.name) - 1] = 0;
get_sockaddr((struct sockaddr_in *) &r->ifr_addr, &i.ip, NULL);