summaryrefslogtreecommitdiff
path: root/proto/rip/config.Y
diff options
context:
space:
mode:
Diffstat (limited to 'proto/rip/config.Y')
-rw-r--r--proto/rip/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y
index fbe6fe19..33be05eb 100644
--- a/proto/rip/config.Y
+++ b/proto/rip/config.Y
@@ -64,7 +64,7 @@ rip_dev_add_iface(char *n)
{
struct iface_patt *k = cfg_alloc(sizeof(struct iface_patt));
- k->pattern = cfg_strcpy(n);
+ k->pattern = cfg_strdup(n);
add_tail(&THIS_PROTO->iface_list, &k->n);
}