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_circuit.c | |
parent | f390d2c7839c04100e4de8246215ce10ea96b653 (diff) |
Fixes from LIU Xin.
Diffstat (limited to 'isisd/isis_circuit.c')
-rw-r--r-- | isisd/isis_circuit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index 671ebbff..9a41c582 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -880,6 +880,10 @@ DEFUN (isis_circuit_type, return CMD_WARNING; } + /* XXX what to do when ip_router_isis is not executed */ + if (circuit->area == NULL) + return CMD_WARNING; + assert (circuit); circuit_t = string2circuit_t (argv[0]); |