This commit is contained in:
c9s 2014-05-18 13:38:30 +08:00
parent cde6e5de31
commit baf2368726
2 changed files with 6 additions and 4 deletions

View file

@ -557,6 +557,12 @@ int route_cmp(route *r1, match_entry *r2) {
}
if (r1->remote_addr_pattern) {
/*
* XXX: consider "netinet/in.h"
if (r2->remote_addr) {
inet_addr(r2->remote_addr);
}
*/
if ( strcmp(r1->remote_addr_pattern, r2->remote_addr) != 0 ) {
return -1;
}

View file

@ -143,7 +143,6 @@
1400388931,10554179.23
1400388944,10969249.80
1400388966,10116208.17
1400389005,6688733.32
1400389070,11138537.72
1400389087,10874695.29
1400389125,10358558.63
@ -156,6 +155,3 @@
1400389287,11080291.51
1400389343,11017300.69
1400389511,11126324.77
1400389609,8967125.06
1400389649,10123246.54
1400390151,9210167.19

1 1400242718 5649455.80
143 1400388931 10554179.23
144 1400388944 10969249.80
145 1400388966 10116208.17
1400389005 6688733.32
146 1400389070 11138537.72
147 1400389087 10874695.29
148 1400389125 10358558.63
155 1400389287 11080291.51
156 1400389343 11017300.69
157 1400389511 11126324.77
1400389609 8967125.06
1400389649 10123246.54
1400390151 9210167.19