]> git.proxmox.com Git - mirror_frr.git/blobdiff - pceplib/pcep_msg_objects.c
Merge pull request #10775 from opensourcerouting/pim6-mld-pr
[mirror_frr.git] / pceplib / pcep_msg_objects.c
index 6c943ddc2a5ef02a0ca151c2c607254a58ade8f2..ce41ee953f4f4231810ba11e017785f587f8e68b 100644 (file)
  * This is the implementation of a High Level PCEP message object API.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <string.h>
 #include <arpa/inet.h>
 #include <stdarg.h>
@@ -670,8 +674,9 @@ pcep_obj_create_ro_subobj_sr_ipv4_node(bool loose_hop, bool sid_absent,
        }
        obj->nai_list = dll_initialize();
        /* Since the IP has to be stored in the list, copy it so the caller
-        * doesnt have any restrictions about the type of memory used externally
-        * for the IP. This memory will be freed with the object is freed. */
+        * doesn't have any restrictions about the type of memory used
+        * externally for the IP. This memory will be freed with the object is
+        * freed. */
        struct in_addr *ipv4_node_id_copy =
                pceplib_malloc(PCEPLIB_MESSAGES, sizeof(struct in_addr));
        ipv4_node_id_copy->s_addr = ipv4_node_id->s_addr;