--- ppp-2.4.4/pppd/plugins/radius/clientid.c.orig 2007-09-29 16:38:20 +0400 +++ ppp-2.4.4/pppd/plugins/radius/clientid.c 2007-11-28 11:46:33 +0300 @@ -110,7 +110,7 @@ if (*name != '/') strcpy(ttyname, "/dev/"); - strncat(ttyname, name, sizeof(ttyname)); + strncat(ttyname, name, sizeof(name)); for(p = map2id_list; p; p = p->next) if (!strcmp(ttyname, p->name)) return p->id;