Skip to contentSkip to conversation

fix minor issues

PATCH In review Marco d'Itri 1 participant 1 message Aug 19, 2007 PPP protocol drivers and compressors

lore
Share & tools
lore
#0 lore raw

PATCH 1/14 fix minor issues

Fix warnings, missing prototypes, an incomplete clean target.

chat/chat.c +1 -1
@@ -1303,7 +1303,7 @@ register char *s;
 
     if (verbose) {
 	if (quiet)
-	    msgf("send (??????)");
+	    msgf("send (?)");
 	else
 	    msgf("send (%v)", s);
     }
pppd/ipv6cp.c +1 -1
@@ -1120,7 +1120,7 @@ ipv6_check_options()
 
     if (demand && (eui64_iszero(wo->ourid) || eui64_iszero(wo->hisid))) {
 	option_error("local/remote LL address required for demand-dialling\n");
-	exit(1);
+	die(1);
     }
 }
 
pppd/pppd.h +2 -0
@@ -642,6 +642,8 @@ int  sif6addr __P((int, eui64_t, eui64_t
 				/* Configure IPv6 addresses for i/f */
 int  cif6addr __P((int, eui64_t, eui64_t));
 				/* Remove an IPv6 address from i/f */
+int  ether_to_eui64 __P((eui64_t *));
+				/* Convert Ethernet address into 64-bit EUI */
 #endif
 int  sifdefaultroute __P((int, u_int32_t, u_int32_t));
 				/* Create default route through i/f */
pppd/plugins/rp-pppoe/Makefile.linux +1 -1
@@ -44,7 +44,7 @@ install: all
 	$(INSTALL) -s -c -m 555 pppoe-discovery $(BINDIR)
 
 clean:
-	rm -f *.o *.so
+	rm -f *.o *.so pppoe-discovery
 
 plugin.o: plugin.c
 	$(CC) '-DRP_VERSION="$(VERSION)"' $(CFLAGS) -I../../..  -c -o plugin.o -fPIC plugin.c
Signature · 2 lines
ciao,
Marco