Some changes in debugging.
This commit is contained in:
parent
9bacea4211
commit
ed4a53c6a5
2 changed files with 3 additions and 2 deletions
|
@ -9,7 +9,6 @@
|
|||
#ifndef _BIRD_OSPF_H_
|
||||
#define _BIRD_OSPF_H_
|
||||
|
||||
#define LOCAL_DEBUG
|
||||
|
||||
#define SIPH 64 /* FIXME Size Of IP header */
|
||||
|
||||
|
@ -28,6 +27,8 @@
|
|||
#include "conf/conf.h"
|
||||
#include "lib/string.h"
|
||||
|
||||
#define LOCAL_DEBUG
|
||||
|
||||
#define OSPF_PROTO 89
|
||||
#ifndef IPV6
|
||||
#define OSPF_VERSION 2
|
||||
|
|
|
@ -127,7 +127,7 @@ ospf_rx_hook(sock *sk, int size)
|
|||
for(i=0;i<ntohs(ps->length);i+=4)
|
||||
DBG("%s: received %u,%u,%u,%u\n",p->name, pu8[i+0], pu8[i+1], pu8[i+2],
|
||||
pu8[i+3]);
|
||||
debug("%s: received size: %u\n",p->name,size);
|
||||
DBG("%s: received size: %u\n",p->name,size);
|
||||
|
||||
switch(ps->type)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue