4fa4afc254551cc129209e9e3d241f2d4c79404f
[librecmc/librecmc.git] / obsolete-buildroot / sources / openwrt / ipkg / pppoecd / pppoecd.patch
1 --- pppoe.c.orig        Sat Jul 10 20:55:38 2004
2 +++ pppoe.c     Sat Jul 10 20:55:55 2004
3 @@ -131,8 +131,7 @@
4  
5      if (pppoe_srv_name !=NULL) {
6         if (strlen (pppoe_srv_name) > 255) {
7 -           poe_error (ses," Service name too long
8 -                       (maximum allowed 256 chars)");
9 +           poe_error (ses," Service name too long (maximum allowed 256 chars)");
10             poe_die(-1);
11         }
12         ses->filt->stag = make_filter_tag(PTT_SRV_NAME,
13 --- Makefile.orig       Sun Jul 11 03:26:49 2004
14 +++ Makefile    Sun Jul 11 03:27:18 2004
15 @@ -68,9 +68,9 @@
16  all: pppoecd
17  
18  install: all
19 -       install -d $(INSTALLDIR)/usr/sbin
20 -       install -m 755 pppoecd $(INSTALLDIR)/usr/sbin
21 -       $(STRIP) $(INSTALLDIR)/usr/sbin/pppoecd
22 +       install -d $(INSTALLDIR)/sbin
23 +       install -m 755 pppoecd $(INSTALLDIR)/sbin
24 +       $(STRIP) $(INSTALLDIR)/sbin/pppoecd
25  
26  pppoecd: $(OBJS)
27         $(LD) -r -o .$@ $^ $(LIBCRYPT)