updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qmail / qmail-0.0.0.0.patch
blob5e9e9ac6ad1e68d7c463014b03f3248e560753c4
1 --- qmail-1.03/ipme.c Mon Jun 15 06:53:16 1998
2 +++ qmail-1.03-sg/ipme.c Mon Jan 29 02:27:38 2001
3 @@ -46,6 +46,11 @@
4 ipme.len = 0;
5 ix.pref = 0;
7 + /* 0.0.0.0 is a special address which always refers to
8 + * "this host, this network", according to RFC 1122, Sec. 3.2.1.3a.
9 + */
10 + byte_copy(&ix.ip,4,"\0\0\0\0");
11 + if (!ipalloc_append(&ipme,&ix)) { return 0; }
12 if ((s = socket(AF_INET,SOCK_STREAM,0)) == -1) return -1;
14 len = 256;