diff --git a/test/testcpg.c b/test/testcpg.c index 0249bf36..c5b52a02 100644 --- a/test/testcpg.c +++ b/test/testcpg.c @@ -42,6 +42,8 @@ #include #include #include +#include +#include #include "saAis.h" #include "cpg.h" @@ -76,18 +78,29 @@ void ConfchgCallback ( struct cpg_address *joined_list, int joined_list_entries) { int i; + struct in_addr saddr; printf("\nConfchgCallback: group '"); print_cpgname(groupName); printf("'\n"); - for (i=0; i