[aadk-commits] qwell: uClinux/trunk r38 -
/uClinux/trunk/uClinux-dist/user/busybox/miscutils/
aadk-commits at lists.digium.com
aadk-commits at lists.digium.com
Tue Nov 7 14:06:00 MST 2006
Author: qwell
Date: Tue Nov 7 15:06:00 2006
New Revision: 38
URL: http://svn.digium.com/view/aadk?rev=38&view=rev
Log: (empty)
Modified:
uClinux/trunk/uClinux-dist/user/busybox/miscutils/makeiplist.c
Modified: uClinux/trunk/uClinux-dist/user/busybox/miscutils/makeiplist.c
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/user/busybox/miscutils/makeiplist.c?rev=38&r1=37&r2=38&view=diff
==============================================================================
--- uClinux/trunk/uClinux-dist/user/busybox/miscutils/makeiplist.c (original)
+++ uClinux/trunk/uClinux-dist/user/busybox/miscutils/makeiplist.c Tue Nov 7 15:06:00 2006
@@ -26,12 +26,12 @@
f = fopen("/etc/hosts", "w");
if (!f)
exit(1);
- fprintf(f, "%s atom.atom router.atom atom\n", argv[1]);
+ fprintf(f, "%s aadk.aadk router.aadk aadk\n", argv[1]);
inet_aton(argv[2], &ina);
count = atoi(argv[3]);
for (x=0;x<count;x++) {
ina.s_addr = htonl(ntohl(ina.s_addr) + 1);
- fprintf(f, "%s host-%03d.atom\n", inet_ntoa(ina), x + 1);
+ fprintf(f, "%s host-%03d.aadk\n", inet_ntoa(ina), x + 1);
}
fclose(f);
f = fopen(DHCP_CONFIG, "w");
@@ -44,7 +44,7 @@
fprintf(f, "remaining yes\n");
fprintf(f, "opt dns %s\n", argv[1]);
fprintf(f, "opt subnet 255.255.255.0\n");
- fprintf(f, "opt domain atom\n");
+ fprintf(f, "opt domain aadk\n");
fprintf(f, "opt lease 8640000\n");
fprintf(f, "opt router %s\n", argv[1]);
fclose(f);
More information about the aadk-commits
mailing list