X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=support%2Fnl.c;h=88babdae391c1b41ad995c9f3c48c697ac0c87ec;hb=30cddad5fb4c3d290906a6e6c33ecd8b07d8b48c;hp=60ad23d594eb20f8d6caf2e003aee5389c2fedf3;hpb=f777bc37a485df19a4700d5c41e9e58bdfa2ef54;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)