summaryrefslogtreecommitdiff
path: root/ospfd/ospf_opaque.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-11-08 12:51:16 -0500
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-12-01 13:51:06 -0500
commit2d34fb80b81c929bcf0d2524b0f2383ee01ea5dc (patch)
tree1322d2443437dc9afbe112152c0a6c9745e89a71 /ospfd/ospf_opaque.c
parent493472ba8ecb44f21bc9cd85c1307262648d5bc3 (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 'ospfd/ospf_opaque.c')
-rw-r--r--ospfd/ospf_opaque.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_opaque.c b/ospfd/ospf_opaque.c
index 5a1f28b036..6f9da92542 100644
--- a/ospfd/ospf_opaque.c
+++ b/ospfd/ospf_opaque.c
@@ -1181,7 +1181,7 @@ void ospf_opaque_lsa_dump(struct stream *s, u_int16_t length)
{
struct ospf_lsa lsa;
- lsa.data = (struct lsa_header *)STREAM_PNT(s);
+ lsa.data = (struct lsa_header *)stream_pnt(s);
show_opaque_info_detail(NULL, &lsa);
return;
}