diff options
Diffstat (limited to 'nest')
-rw-r--r-- | nest/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y index 7b82ba7..9843654 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -101,7 +101,7 @@ rt_dev_add_iface(char *n) struct rt_dev_proto *p = (void *) this_proto; struct iface_patt *k = cfg_alloc(sizeof(struct iface_patt)); - k->pattern = cfg_strcpy(n); + k->pattern = cfg_strdup(n); add_tail(&p->iface_list, &k->n); } |