diff options
author | hasso <hasso> | 2004-09-10 23:19:13 +0200 |
---|---|---|
committer | hasso <hasso> | 2004-09-10 23:19:13 +0200 |
commit | 13c48f728080ebe3b20252e124f42f85d240770b (patch) | |
tree | 685efc1bedf96153eaee42a9ed4c1dfce44c78ca /isisd/isis_circuit.c | |
parent | Indentation only. No any functional changes. (diff) | |
download | frr-13c48f728080ebe3b20252e124f42f85d240770b.tar.xz frr-13c48f728080ebe3b20252e124f42f85d240770b.zip |
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 671ebbffe..9a41c582c 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]); |