4,6c4
< * Redistribution and use in source and binary forms are permitted
< * provided that this notice is preserved and due credit is given
< * to the original author and the contributors.
---
> * See the IPFILTER.LICENCE file for details on licencing.
43c41
< static const char rcsid[] = "@(#)$Id: sdlpi.c,v 2.1 1999/08/04 17:31:13 darrenr Exp $";
---
> static const char rcsid[] = "@(#)$Id: sdlpi.c,v 2.1.4.2 2001/06/26 10:43:22 darrenr Exp $";
61c59,60
< (void) sprintf(devname, "/dev/%s", device);
---
> (void) strcpy(devname, "/dev/");
> (void) strncat(devname, device, sizeof(devname) - strlen(devname));
< * Redistribution and use in source and binary forms are permitted
< * provided that this notice is preserved and due credit is given
< * to the original author and the contributors.
---
> * See the IPFILTER.LICENCE file for details on licencing.
43c41
< static const char rcsid[] = "@(#)$Id: sdlpi.c,v 2.1 1999/08/04 17:31:13 darrenr Exp $";
---
> static const char rcsid[] = "@(#)$Id: sdlpi.c,v 2.1.4.2 2001/06/26 10:43:22 darrenr Exp $";
61c59,60
< (void) sprintf(devname, "/dev/%s", device);
---
> (void) strcpy(devname, "/dev/");
> (void) strncat(devname, device, sizeof(devname) - strlen(devname));