[pisa-src] Re: r2517 - trunk/tools/dhcp/mac2ip.c

  • From: Christof Mroz <christof.mroz@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 05 Apr 2011 15:08:03 +0200

On Tue, 05 Apr 2011 02:56:01 +0200, Christoph Viethen <christoph.viethen@xxxxxxxxxxxxxx> wrote:


-/* converts mac in hex_string_format to mac_t */
+/* converts IPv4 address in the common dotted-quad notation to ipv4_t */
+/* returns -1 in case s.th. goes wrong, otherwise 0 */
 static int string_to_ipv4_t(const char *string, mac2ip_ipv4_t *ip)

Use a doxygen header (/** ... */) where possible.
--
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts: