diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-01-09 14:40:54 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-13 21:32:57 +0900 |
commit | c1e01c54ca75b5480718a0fc7e1e79b14ec72258 (patch) | |
tree | 4c157c1a7edc3b591e97fe1e510d9a18df2066ad | |
parent | 36d734f4e4d0268311b29248398ad7ca08978c17 (diff) |
ospf: fix wrong OSPF LSA type
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/packet/ospf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/packet/ospf.py b/ryu/lib/packet/ospf.py index 0dfda1ab..d1ee33aa 100644 --- a/ryu/lib/packet/ospf.py +++ b/ryu/lib/packet/ospf.py @@ -352,7 +352,7 @@ class SummaryLSA(LSA): _PACK_STR = '!4sBBH' _PACK_LEN = struct.calcsize(_PACK_STR) - def __init__(self, ls_age=0, options=0, type_=OSPF_NETWORK_LSA, + def __init__(self, ls_age=0, options=0, type_=OSPF_SUMMARY_LSA, id_='0.0.0.0', adv_router='0.0.0.0', ls_seqnum=0, checksum=None, length=None, mask='0.0.0.0', tos=0, metric=0): self.mask = mask |