From 50b37d4a27d3295a29afca2286f1a5a086142cec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:49:46 +0200 Subject: Adding upstream version 3.2.1+dfsg. Signed-off-by: Daniel Baumann --- src/tests/keywords/cmp-ipaddr | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/tests/keywords/cmp-ipaddr (limited to 'src/tests/keywords/cmp-ipaddr') diff --git a/src/tests/keywords/cmp-ipaddr b/src/tests/keywords/cmp-ipaddr new file mode 100644 index 0000000..bf197af --- /dev/null +++ b/src/tests/keywords/cmp-ipaddr @@ -0,0 +1,20 @@ +# +# PRE: update +# +update control { + Cleartext-Password := 'hello' +} + +update request { + NAS-IP-Address := 127.0.0.1 + Framed-IP-Address := 127.0.0.1 +} + +# +# Check attribute references +# +if (NAS-IP-Address == &Framed-IP-Address) { + update reply { + Filter-Id := "filter" + } +} -- cgit v1.2.3