mirror of
https://git.freebsd.org/ports.git
synced 2025-07-10 05:49:22 -04:00
29 lines
830 B
Text
29 lines
830 B
Text
--- spatd/prefs.c.orig Wed Jan 3 20:42:27 2001
|
|
+++ spatd/prefs.c Thu Jan 4 13:45:30 2001
|
|
@@ -16,7 +16,7 @@
|
|
{
|
|
struct ifreq ifi;
|
|
int sock, iftype = 0;
|
|
- char *bcast_addy, *interface = "eth0";
|
|
+ char *bcast_addy, *interface = "ed0";
|
|
|
|
sock = socket(AF_INET, SOCK_DGRAM, 0);
|
|
if (sock < 0)
|
|
@@ -86,7 +86,7 @@
|
|
printf("Failure to create config. ARG!\n"); /* If this happens then somthing serious went down */
|
|
exit(0);
|
|
}
|
|
- fprintf(fp, "interface: eth0\n");
|
|
+ fprintf(fp, "interface: ed0\n");
|
|
fprintf(fp, "away: no\n");
|
|
fclose(fp);
|
|
printf("Wrote ~/.spat/spatrc\n");
|
|
@@ -173,7 +173,7 @@
|
|
printf("Failure to create config. ARG!\n");
|
|
exit(0);
|
|
}
|
|
- fprintf(fp, "interface: eth0\n");
|
|
+ fprintf(fp, "interface: ed0\n");
|
|
fprintf(fp, "away: no\n");
|
|
fclose(fp);
|
|
printf("Wrote ~/.spat/spatrc\n");
|