Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ferm dies when using @ipfilter within @if #95

Open
elho opened this issue Jun 7, 2023 · 0 comments
Open

ferm dies when using @ipfilter within @if #95

elho opened this issue Jun 7, 2023 · 0 comments

Comments

@elho
Copy link

elho commented Jun 7, 2023

The following example did work in ferm 2.4, but causes ferm 2.5.1 and current git to die:

def $var = ();

domain ip {
    @if @ipfilter($var) {
    }
}

The newer ferm versions die in the final else branch of eval_bool().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant