diff options
Diffstat (limited to 'filter')
-rw-r--r-- | filter/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter.c b/filter/filter.c index 49b67391..7c883fff 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -831,7 +831,7 @@ interpret(struct f_inst *what) res.val.i = * ((char *) rta + what->a2.i); break; case T_STRING: /* Warning: this is a special case for proto attribute */ - res.val.s = rta->proto->name; + res.val.s = rta->src->proto->name; break; case T_PREFIX: /* Warning: this works only for prefix of network */ { |