diff options
author | hasso <hasso> | 2004-05-19 13:43:50 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-05-19 13:43:50 +0000 |
commit | 00995cfcc9cb30afabb3242837753ab1eb7fdb85 (patch) | |
tree | fbfebfd74d22b29eb9b7bc279a4d6fd2beec4def /isisd/isis_tlv.c | |
parent | 37da8c011408560eeaa74b2439192d36e16c19a4 (diff) |
Commit 100% working part of patch from Laurent Rabret ([quagga-dev 830]).
Also tiny temporary fix from me to spf thread crash. Will look at it later.
Diffstat (limited to 'isisd/isis_tlv.c')
-rw-r--r-- | isisd/isis_tlv.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/isisd/isis_tlv.c b/isisd/isis_tlv.c index ab39ceba..d7bbb914 100644 --- a/isisd/isis_tlv.c +++ b/isisd/isis_tlv.c @@ -651,6 +651,21 @@ parse_tlvs (char *areatag, u_char *stream, int size, u_int32_t *expected, } break; + case GRACEFUL_RESTART: + /* +-------+-------+-------+-------+-------+-------+-------+-------+ + * | Reserved | SA | RA | RR | 1 + * +-------+-------+-------+-------+-------+-------+-------+-------+ + * | Remaining Time | 2 + * +---------------------------------------------------------------+ + * | Restarting Neighbor ID (If known) | 0-8 + * +---------------------------------------------------------------+ + */ + *found |= TLVFLAG_GRACEFUL_RESTART; + if (*expected & TLVFLAG_GRACEFUL_RESTART) { + /* FIXME: make this work */ + } + pnt += length; + break; default: zlog_warn ("ISIS-TLV (%s): unsupported TLV type %d, length %d", |