and re-enable additional check, as the APIs have been updated
as per the comment which disabled the test
test_fail
}
-#
-# @todo - the old pair_make() called by rlm_perl did various magic to
-# fix up VSAs, etc. We really need to update rlm_perl to either call
-# a new API which creates the whole hierarchy, or have it call the
-# tmpl API.
-#
-#if (&reply.Vendor-Specific.Cisco.h323-credit-amount != 100) {
-# test_fail
-#}
-
-update reply {
- &Vendor-Specific.Cisco.h323-credit-amount !* ANY
+if !(&reply.Vendor-Specific.Cisco.h323-credit-amount == 100) {
+ test_fail
}
+&reply -= &Vendor-Specific.Cisco.h323-credit-amount[*]
+
test_pass