added missing parameter in get_my_addr() and get_other_addr() calls
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 9 Jun 2012 12:06:45 +0000 (14:06 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 9 Jun 2012 12:06:45 +0000 (14:06 +0200)
src/libcharon/plugins/smp/smp.c

index 67e1e30..7fdbdba 100644 (file)
@@ -311,8 +311,10 @@ static void request_query_config(xmlTextReaderPtr reader, xmlTextWriterPtr write
                /* <ikeconfig> */
                ike_cfg = peer_cfg->get_ike_cfg(peer_cfg);
                xmlTextWriterStartElement(writer, "ikeconfig");
-               xmlTextWriterWriteElement(writer, "local", ike_cfg->get_my_addr(ike_cfg));
-               xmlTextWriterWriteElement(writer, "remote", ike_cfg->get_other_addr(ike_cfg));
+               xmlTextWriterWriteElement(writer, "local",
+                                                                 ike_cfg->get_my_addr(ike_cfg, NULL));
+               xmlTextWriterWriteElement(writer, "remote",
+                                                                 ike_cfg->get_other_addr(ike_cfg, NULL));
                xmlTextWriterEndElement(writer);
                /* </ikeconfig> */