From 8d8e08592c342536d3c4cba271d1e0ee587b66be Mon Sep 17 00:00:00 2001 From: YANGDB Date: Mon, 4 Nov 2024 09:42:29 -0800 Subject: [PATCH] fix type error Signed-off-by: YANGDB --- docs/ppl-lang/PPL-Example-Commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ppl-lang/PPL-Example-Commands.md b/docs/ppl-lang/PPL-Example-Commands.md index 6d5468e40..e780f688d 100644 --- a/docs/ppl-lang/PPL-Example-Commands.md +++ b/docs/ppl-lang/PPL-Example-Commands.md @@ -66,7 +66,7 @@ _- **Limitation: new field added by eval command with a function cannot be dropp [See additional command details](functions/ppl-ip.md) - `source = table | where cidrmatch(ip, '192.169.1.0/24')` -- `source = table | where isV6 = false and isValid = true and cidrmatch(ipAddress, '192.168.1.0/24'` +- `source = table | where isV6 = false and isValid = true and cidrmatch(ipAddress, '192.168.1.0/24')` - `source = table | where isV6 = true | eval inRange = case(cidrmatch(ipAddress, '2003:db8::/32'), 'in' else 'out') | fields ip, inRange` ```sql