summaryrefslogtreecommitdiff
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.com>2016-05-12 15:49:44 +0200
committerPavel Tvrdik <pawel.tvrdik@gmail.com>2016-05-12 15:49:44 +0200
commit8e433d6a529a883d566dc1d5a4afe0f1e2750baf (patch)
treed113b293ad18c63698fbff4bbdb3c7474e715b6f /proto/ospf/lsalib.c
parentfff7498d6a54d4bcce4bd56db7ef3fb28be35578 (diff)
Prog Doc: Complete several missing parameters
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index 66a3a23d..1bbd1372 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -554,12 +554,13 @@ lsa_validate_prefix(struct ospf_lsa_header *lsa, struct ospf_lsa_prefix *body)
/**
* lsa_validate - check whether given LSA is valid
* @lsa: LSA header
+ * @lsa_type: one of %LSA_T_xxx
+ * @ospf2: %true means OSPF version 2, %false means OSPF version 3
* @body: pointer to LSA body
*
* Checks internal structure of given LSA body (minimal length,
* consistency). Returns true if valid.
*/
-
int
lsa_validate(struct ospf_lsa_header *lsa, u32 lsa_type, int ospf2, void *body)
{