Changeset 342
- Timestamp:
- May 11, 2011, 11:04:08 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/Changelog
r341 r342 1 1 2.8.4a: 2 * Fix for compile error with --enable-udp (reported by Sean Chittenden) 2 * Fix for compile error with --with-prelude 3 (reported by Sean Chittenden), missing regression test added 4 * Fix for compile error with --enable-udp (reported by Sean Chittenden), 5 missing regression test added 3 6 4 7 2.8.4: -
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 -
trunk/test/testcompile.sh
r341 r342 21 21 22 22 # dnmalloc + flawfinder + (36 * 3) 23 MAXTEST=11 0; export MAXTEST23 MAXTEST=116; export MAXTEST 24 24 25 25 run_dnmalloc () … … 685 685 686 686 # 687 # test client/server compilation w/prelude 688 # 689 TEST="${S}client/server application w/prelude${E}" 690 # 691 if [ -z "$doall" ]; then 692 let "num = num + 1" >/dev/null 693 [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST"; 694 let "num = num + 1" >/dev/null 695 [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST (smatch)"; 696 let "num = num + 1" >/dev/null 697 [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST (uno)"; 698 699 let "num = num + 1" >/dev/null 700 [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST"; 701 let "num = num + 1" >/dev/null 702 [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST (smatch)"; 703 let "num = num + 1" >/dev/null 704 [ -z "$quiet" ] && log_skip $2 ${MAXTEST} "$TEST (uno)"; 705 else 706 if test -r "Makefile"; then 707 $MAKE clean 708 fi 709 # 710 ${TOP_SRCDIR}/configure --quiet --enable-network=client --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --with-prelude > /dev/null 2>> test_log 711 # 712 let "num = num + 1" >/dev/null 713 testmake $? $num || let "numfail = numfail + 1" >/dev/null 714 let "num = num + 1" >/dev/null 715 run_smatch $? $num || let "numfail = numfail + 1" >/dev/null 716 let "num = num + 1" >/dev/null 717 run_uno $? $num || let "numfail = numfail + 1" >/dev/null 718 719 if test -r "Makefile"; then 720 $MAKE clean 721 fi 722 # 723 ${TOP_SRCDIR}/configure --quiet --enable-network=server --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --with-prelude > /dev/null 2>> test_log 724 # 725 let "num = num + 1" >/dev/null 726 testmake $? $num || let "numfail = numfail + 1" >/dev/null 727 let "num = num + 1" >/dev/null 728 run_smatch $? $num || let "numfail = numfail + 1" >/dev/null 729 let "num = num + 1" >/dev/null 730 run_uno $? $num || let "numfail = numfail + 1" >/dev/null 731 # 732 fi 733 734 # 687 735 # test client/server compilation 688 736 #
Note:
See TracChangeset
for help on using the changeset viewer.