X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=support%2Fnl.c;h=88babdae391c1b41ad995c9f3c48c697ac0c87ec;hb=50401f5f7c21fb60a49126e3578a7c08d7f59038;hp=60ad23d594eb20f8d6caf2e003aee5389c2fedf3;hpb=90d6059c5475419ddf6e0fc4b49098158010cab0;p=mono.git diff --git a/support/nl.c b/support/nl.c index 60ad23d594e..88babdae391 100644 --- a/support/nl.c +++ b/support/nl.c @@ -221,8 +221,10 @@ ReadEvents (gpointer sock, gpointer buffer, gint32 count, gint32 size) int addr_length; int msg_type; int table; +#ifdef NL_DEBUG int protocol; int scope; +#endif int rtm_type; gboolean have_dst; gboolean have_src; @@ -250,8 +252,10 @@ ReadEvents (gpointer sock, gpointer buffer, gint32 count, gint32 size) addr_length = (family == AF_INET) ? 4 : 16; table = rtp->rtm_table; +#ifdef NL_DEBUG protocol = rtp->rtm_protocol; scope = rtp->rtm_scope; +#endif rtm_type = rtp->rtm_type; NL_DEBUG_PRINT ("\tRTMSG table: %d %s", table, FIND_RT_TABLE_NAME (table)); if (table != RT_TABLE_MAIN && table != RT_TABLE_LOCAL)