diff options
| author | Rafael Zalamena <rzalamena@users.noreply.github.com> | 2019-11-19 15:29:11 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-19 15:29:11 -0300 |
| commit | abdd51c11f2b34da053a655dd45ed17586b99d27 (patch) | |
| tree | 91a07bc7b764afebe70bc98e809d6f0ce87e80bc /ospfd/ospf_api.c | |
| parent | 943de56af6c36277df8ffd08b9aa8873381c0dae (diff) | |
| parent | 0263751346afe9e9924caca33e0afdf2d92d552b (diff) | |
Merge pull request #5292 from donaldsharp/ospf_vrf_data
Ospf vrf data
Diffstat (limited to 'ospfd/ospf_api.c')
| -rw-r--r-- | ospfd/ospf_api.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ospfd/ospf_api.c b/ospfd/ospf_api.c index f06e45392e..1ace0977bc 100644 --- a/ospfd/ospf_api.c +++ b/ospfd/ospf_api.c @@ -246,13 +246,6 @@ void msg_print(struct msg *msg) return; } -#ifdef ORIGINAL_CODING - zlog_debug( - "msg=%p msgtype=%d msglen=%d msgseq=%d streamdata=%p streamsize=%lu\n", - msg, msg->hdr.msgtype, ntohs(msg->hdr.msglen), - ntohl(msg->hdr.msgseq), STREAM_DATA(msg->s), - STREAM_SIZE(msg->s)); -#else /* ORIGINAL_CODING */ /* API message common header part. */ zlog_debug("API-msg [%s]: type(%d),len(%d),seq(%lu),data(%p),size(%zd)", ospf_api_typename(msg->hdr.msgtype), msg->hdr.msgtype, @@ -260,16 +253,7 @@ void msg_print(struct msg *msg) (unsigned long)ntohl(msg->hdr.msgseq), STREAM_DATA(msg->s), STREAM_SIZE(msg->s)); -/* API message body part. */ -#ifdef ndef - /* Generic Hex/Ascii dump */ - DumpBuf(STREAM_DATA(msg->s), STREAM_SIZE(msg->s)); /* Sorry, deleted! */ -#else /* ndef */ -/* Message-type dependent dump function. */ -#endif /* ndef */ - return; -#endif /* ORIGINAL_CODING */ } void msg_free(struct msg *msg) |
