|
@@ -1117,7 +1117,7 @@ lcr() {
|
|
|
case $1 in
|
|
|
show_gws)
|
|
|
merr "command disabled"
|
|
|
- exit;
|
|
|
+ exit 1
|
|
|
require_dbengine
|
|
|
mecho "lcr gateways"
|
|
|
QUERY="select * FROM $GW_TABLE ORDER BY $LCR_ID_COLUMN, $LCR_GW_GRPID_COLUMN; "
|
|
@@ -1125,7 +1125,7 @@ lcr() {
|
|
|
;;
|
|
|
show_routes)
|
|
|
merr "command disabled"
|
|
|
- exit;
|
|
|
+ exit 1
|
|
|
require_dbengine
|
|
|
mecho "lcr routes"
|
|
|
QUERY="select * FROM $LCR_TABLE ORDER BY $LCR_ID_COLUMN, $LCR_PREFIX_COLUMN; "
|
|
@@ -1133,17 +1133,17 @@ lcr() {
|
|
|
;;
|
|
|
reload)
|
|
|
merr "command disabled"
|
|
|
- exit;
|
|
|
+ exit 1
|
|
|
$CTLCMD lcr.reload
|
|
|
;;
|
|
|
dump_gws)
|
|
|
merr "command disabled"
|
|
|
- exit;
|
|
|
+ exit 1
|
|
|
$CTLCMD lcr.dump_gws
|
|
|
;;
|
|
|
dump_routes)
|
|
|
merr "command disabled"
|
|
|
- exit;
|
|
|
+ exit 1
|
|
|
$CTLCMD lcr.dump_lcrs
|
|
|
;;
|
|
|
eval_weights)
|