- Timestamp:
- May 11, 2011, 11:04:08 PM (14 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_forward.c
r341 r342 3615 3615 { 3616 3616 char peer_ip[SH_IP_BUF]; 3617 sh_ipvx_ntoa(peer_ip, sizeof(peer_ip), conn->addr_peer);3617 sh_ipvx_ntoa(peer_ip, sizeof(peer_ip), &(conn->addr_peer)); 3618 3618 sh_error_set_peer_ip( peer_ip ); 3619 3619 } -
trunk/src/sh_prelude.c
r290 r342 1141 1141 } 1142 1142 1143 1143 #if defined(SH_WITH_SERVER) 1144 1144 static int node_set_address(idmef_node_t *node, const char *addr) 1145 1145 { … … 1168 1168 return -1; 1169 1169 } 1170 1170 #endif 1171 1171 1172 1172 1173 1173 static int samhain_alert_prelude(int priority, int sh_class, 1174 char *message, unsigned long msgid, char * inet_peer_ip) 1174 char *message, unsigned long msgid, 1175 char * inet_peer_ip) 1175 1176 { 1176 1177 int ret; … … 1187 1188 #if defined(SH_WITH_SERVER) 1188 1189 idmef_node_t *node; 1190 #else 1191 (void) inet_peer_ip; 1189 1192 #endif 1190 1193
Note:
See TracChangeset
for help on using the changeset viewer.