Changeset 5836
- Timestamp:
- 08/13/11 14:22:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-http.c
r5832 r5836 3897 3897 } else { 3898 3898 cfg.http_dynip = cs_getIPfromHost((char*)cfg.http_dyndns); 3899 cs_debug_mask(D_TRACE, "WebIf: dynip resolved %s access from %s", 3900 cs_inet_ntoa(cfg.http_dynip), 3901 cs_inet6_ntoa(addr)); 3899 #ifdef IPV6SUPPORT 3900 if(cfg.http_dynip && cfg.http_dynip == addr.s6_addr32[3]) { 3901 #else 3902 if(cfg.http_dynip && cfg.http_dynip == addr) { 3903 #endif 3904 ok = v; 3905 cs_debug_mask(D_TRACE, "WebIf: dynip resolved %s access from %s => granted", 3906 cs_inet_ntoa(cfg.http_dynip), 3907 cs_inet6_ntoa(addr)); 3908 } else { 3909 cs_debug_mask(D_TRACE, "WebIf: dynip resolved %s access from %s => forbidden", 3910 cs_inet_ntoa(cfg.http_dynip), 3911 cs_inet6_ntoa(addr)); 3912 } 3902 3913 } 3903 3914 } else {
Note:
See TracChangeset
for help on using the changeset viewer.