Parent Directory | Revision Log | Revision Graph
See changelog
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; |
6 | |
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; |
13 | |
14 | len = 256; |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |