summaryrefslogtreecommitdiffstats
path: root/proto/rip
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-12-06 12:59:18 +0100
committerMartin Mares <mj@ucw.cz>1998-12-06 12:59:18 +0100
commitb35d72ac668c52ef0755cedba89bdca54bd995ac (patch)
treed968e72890f19ff3d2986c318787bd697e257a31 /proto/rip
parent2d9290e973b9cfc909057a0409152e020d1c29db (diff)
downloadbird-b35d72ac668c52ef0755cedba89bdca54bd995ac.tar
bird-b35d72ac668c52ef0755cedba89bdca54bd995ac.zip
Name cleanups as suggested by Pavel:
- cfg_strcpy() -> cfg_strdup() - mempool -> linpool, mp_* -> lp_* [to avoid confusion with memblock, mb_*] Anyway, it might be better to stop ranting about names and do some *real* work.
Diffstat (limited to 'proto/rip')
-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 fbe6fe1..33be05e 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);
}