if !(&reply.Filter-Id == 'Hello') {
test_fail
}
+# Verify that the change to the request and control lists are
+# not copied back.
+if (&User-Name != 'bob') {
+ test_fail
+}
+if (&control.NAS-Identifier) {
+ test_fail
+}
&reply -= &Vendor-Specific.Cisco.h323-credit-amount[*]
&reply -= &Filter-Id[*]
$RAD_REPLY{'Filter-Id'} = 'Everything'
} else {
# $RAD_REPLY{'Vendor-Specific.Cisco.h323-credit-amount'} = "100";
- $RAD_REPLY{'Filter-Id'} = 'Hello'
+ $RAD_REPLY{'Filter-Id'} = 'Hello';
+ $RAD_REQUEST{'User-Name'} = 'tim';
+ $RAD_CONFIG{'NAS-Identifier'} = 'dummy';
}
return RLM_MODULE_OK;
}