diff options
author | Paul Jakma <paul@quagga.net> | 2011-04-11 16:28:16 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2011-04-13 15:13:33 +0100 |
commit | 072990e22e66ed9a15261b70658dc4a8801975b5 (patch) | |
tree | 6fd4e1dcfb4d076a5c14ab148da71679b06a6322 /ospfd/ospf_apiserver.c | |
parent | 8f6f78a761fc66f9668b68810a1bac032227b2d1 (diff) |
ospf: Fix OSPF API and ospf-te LSA refreshers to match recent API change
* ospf_apiserver.{c,h}: (ospf_apiserver_lsa_refresher) refreshers must now
return the refreshed LSA.
* ospf_te.{c,h}: (ospf_mpls_te_lsa_refresh) ditto
* ospf_api.c: trivial compiler warning fix
Diffstat (limited to 'ospfd/ospf_apiserver.c')
-rw-r--r-- | ospfd/ospf_apiserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_apiserver.c b/ospfd/ospf_apiserver.c index 15fd2e5f..2a9003b7 100644 --- a/ospfd/ospf_apiserver.c +++ b/ospfd/ospf_apiserver.c @@ -1831,7 +1831,7 @@ ospf_apiserver_lsa11_originator (void *arg) /* Periodically refresh opaque LSAs so that they do not expire in other routers. */ -void +struct ospf_lsa * ospf_apiserver_lsa_refresher (struct ospf_lsa *lsa) { struct ospf_apiserver *apiserv; @@ -1904,7 +1904,7 @@ ospf_apiserver_lsa_refresher (struct ospf_lsa *lsa) } out: - return; + return new; } |