Message ID | CAM_3v9JAZyH6C4eHnEkJM77_CGBREsThP7QUodZorceN7L683A@mail.gmail.com |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/lib/packets.c b/lib/packets.c index 1d2d452..ae81f46 100644 --- a/lib/packets.c +++ b/lib/packets.c @@ -431,7 +431,10 @@ ip_parse(const char *s, ovs_be32 *ip) /* Parses string 's', which must be an IP address with a port number * with ":" as a separator (e.g.: 192.168.1.2:80). - * Stores the IP address into '*ip' and port number to '*port'. */ + * Stores the IP address into '*ip' and port number to '*port'. + * + * Returns NULL if successful, otherwise an error message that the caller must + * free(). */ char * OVS_WARN_UNUSED_RESULT ip_parse_port(const char *s, ovs_be32 *ip, ovs_be16 *port)