[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #43633] Add format option for ip addresses to net_get_dhcp_option
From: |
Andrei Borzenkov |
Subject: |
[bug #43633] Add format option for ip addresses to net_get_dhcp_option |
Date: |
Wed, 19 Nov 2014 18:31:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
Follow-up Comment #1, bug #43633 (project grub):
You do not really need endian conversion. Just print each byte directly.
grub_printf("%d.%d.%d.%d", ptr[0], ptr[1], ptr[2], ptr[3])
Please update documentation too.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43633>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/