diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-11-08 12:51:16 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-12-01 13:51:06 -0500 |
| commit | 2d34fb80b81c929bcf0d2524b0f2383ee01ea5dc (patch) | |
| tree | 1322d2443437dc9afbe112152c0a6c9745e89a71 /eigrpd/eigrp_packet.c | |
| parent | 493472ba8ecb44f21bc9cd85c1307262648d5bc3 (diff) | |
*: don't use deprecated stream.h macros
Some of the deprecated stream.h macros see such little use that we may
as well just remove them and use the non-deprecated macros.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_packet.c')
| -rw-r--r-- | eigrpd/eigrp_packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eigrpd/eigrp_packet.c b/eigrpd/eigrp_packet.c index ecabee4aa7..ea6f1f3f62 100644 --- a/eigrpd/eigrp_packet.c +++ b/eigrpd/eigrp_packet.c @@ -425,7 +425,7 @@ int eigrp_write(struct thread *thread) iov[0].iov_base = (char *)&iph; iov[0].iov_len = iph.ip_hl << EIGRP_WRITE_IPHL_SHIFT; - iov[1].iov_base = STREAM_PNT(ep->s); + iov[1].iov_base = stream_pnt(ep->s); iov[1].iov_len = ep->length; /* send final fragment (could be first) */ @@ -555,7 +555,7 @@ int eigrp_read(struct thread *thread) by eigrp_recv_packet() to be correct). */ stream_forward_getp(ibuf, (iph->ip_hl * 4)); - eigrph = (struct eigrp_header *)STREAM_PNT(ibuf); + eigrph = (struct eigrp_header *)stream_pnt(ibuf); if (IS_DEBUG_EIGRP_TRANSMIT(0, RECV) && IS_DEBUG_EIGRP_TRANSMIT(0, PACKET_DETAIL)) |
