diff options
author | hasso <hasso> | 2004-09-10 21:19:13 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-09-10 21:19:13 +0000 |
commit | 13c48f728080ebe3b20252e124f42f85d240770b (patch) | |
tree | 685efc1bedf96153eaee42a9ed4c1dfce44c78ca /isisd/isis_pdu.c | |
parent | f390d2c7839c04100e4de8246215ce10ea96b653 (diff) | |
download | quagga-13c48f728080ebe3b20252e124f42f85d240770b.tar.bz2 quagga-13c48f728080ebe3b20252e124f42f85d240770b.tar.xz |
Fixes from LIU Xin.
Diffstat (limited to 'isisd/isis_pdu.c')
-rw-r--r-- | isisd/isis_pdu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index cae34610..c7142eea 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -812,8 +812,10 @@ process_lan_hello (int level, struct isis_circuit *circuit, u_char * ssnpa) */ adj = isis_new_adj (hdr.source_id, ssnpa, level, circuit); if (adj == NULL) - retval = ISIS_ERROR; - goto out; + { + retval = ISIS_ERROR; + goto out; + } adj->level = level; isis_adj_state_change (adj, ISIS_ADJ_INITIALIZING, NULL); |