<empty commit message>

This commit is contained in:
zribiahmed 2013-02-06 16:04:16 +00:00
parent 2af4147369
commit 1065da171d
3 changed files with 3 additions and 3 deletions

View file

@ -243,7 +243,7 @@ if [ "$action" = "get_name" -o "$action" = "get_all" ]; then
fault_code="$?"
if [ "$fault_code" = "0" ]; then
if [ "$__arg2" != "0" -a "$__arg2" != "1" ]; then
fault_code="$E_INVALID_ARGUMENTS"
fault_code="$FAULT_CPE_INVALID_ARGUMENTS"
fi
if [ "$fault_code" = "0" ]; then
# TODO: don't return only 'InternetGatewayDevice.' when getting an empty string; but we should both

View file

@ -420,7 +420,7 @@ freecwmp_execute_functions()
if [ "$fault_code" = "0" ]; then
no_fault="1"
fi
if [ "$fault_code" != "0" -a "$fault_code" != "$E_INVALID_PARAMETER_NAME" ]; then
if [ "$fault_code" != "0" -a "$fault_code" != "$FAULT_CPE_INVALID_PARAMETER_NAME" ]; then
return $fault_code
fi
done

View file

@ -404,7 +404,7 @@ return $FAULT_CPE_INVALID_PARAMETER_NAME
}
set_device_info_notification() {
return $E_INVALID_PARAMETER_NAME
return $FAULT_CPE_INVALID_PARAMETER_NAME
}
check_parameter_device_info_generic() {