Page MenuHomeFreeBSD

D17507.id48982.diff
No OneTemporary

D17507.id48982.diff

Index: sbin/pfctl/parse.y
===================================================================
--- sbin/pfctl/parse.y
+++ sbin/pfctl/parse.y
@@ -4408,7 +4408,7 @@
$$ = calloc(1, sizeof(struct node_host));
if ($$ == NULL)
err(1, "route_host: calloc");
- $$->ifname = $1;
+ $$->ifname = strdup($1);
set_ipmask($$, 128);
$$->next = NULL;
$$->tail = $$;
@@ -4418,7 +4418,7 @@
$$ = $3;
for (n = $3; n != NULL; n = n->next)
- n->ifname = $2;
+ n->ifname = strdup($2);
}
;

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 6, 9:06 PM (14 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38433842
Default Alt Text
D17507.id48982.diff (518 B)

Event Timeline