diff options
author | paul <paul> | 2005-02-09 15:51:56 +0000 |
---|---|---|
committer | paul <paul> | 2005-02-09 15:51:56 +0000 |
commit | 9985f83ce7102f64b15f744b60320f8d14a8a5ff (patch) | |
tree | 344629bdc2b4a7d53b8d7ca1705c9be2ca282d18 /ospfd/ospf_lsa.c | |
parent | 083ee9d9cdbf72a452b9af96e62d0625ea712cd9 (diff) |
2005-02-09 Paul Jakma <paul.jakma@sun.com>
* (global) Update code to match stream.h changes.
stream_get_putp effectively replaced with stream_get_endp.
stream_forward renamed to stream_forward_getp.
stream_forward_endp introduced to replace some previous
setting/manual twiddling of putp by daemons.
* lib/stream.h: Remove putp. Update reference to putp with endp.
Add stream_forward_endp, which daemons were doing manually.
Rename stream_forward to stream_forward_getp.
lib/stream.c: Remove/update references to putp.
introduce stream_forward_endp.
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r-- | ospfd/ospf_lsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index fbc56e15..13302dd3 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -407,7 +407,7 @@ lsa_header_set (struct stream *s, u_char options, lsah->adv_router = router_id; lsah->ls_seqnum = htonl (OSPF_INITIAL_SEQUENCE_NUMBER); - ospf_output_forward (s, OSPF_LSA_HEADER_SIZE); + stream_forward_endp (s, OSPF_LSA_HEADER_SIZE); } @@ -710,7 +710,7 @@ ospf_router_lsa_body_set (struct stream *s, struct ospf_area *area) stream_putc (s, 0); /* Keep pointer to # links. */ - putp = s->putp; + putp = stream_get_endp(s); /* Forward word */ stream_putw(s, 0); |