diff options
Diffstat (limited to 'src/tests/modules/preprocess/xlat.unlang')
-rw-r--r-- | src/tests/modules/preprocess/xlat.unlang | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/modules/preprocess/xlat.unlang b/src/tests/modules/preprocess/xlat.unlang new file mode 100644 index 0000000..da53982 --- /dev/null +++ b/src/tests/modules/preprocess/xlat.unlang @@ -0,0 +1,14 @@ +# +# Run the preprocess module +# +preprocess + +if (Calling-Station-Id == "bob@127.0.0.1") { + update reply { + Filter-Id := "success" + } +} + +update control { + Cleartext-Password := "%{User-Name}" +} |