Re: [OpenWrt-Devel] [PATCH] base-files: fix get_mac_address not accepting hex offsets

2019-09-05 Thread Adrian Schmutzler
Hi David, > -Original Message- > From: David Bauer [mailto:m...@david-bauer.net] > Sent: Mittwoch, 4. September 2019 23:07 > To: m...@adrianschmutzler.de > Cc: openwrt-devel@lists.openwrt.org > Subject: Re: [OpenWrt-Devel] [PATCH] base-files: fix get_mac_address no

Re: [OpenWrt-Devel] [PATCH] base-files: fix get_mac_address not accepting hex offsets

2019-09-04 Thread David Bauer
Hello Adrian, On 9/4/19 10:08 PM, m...@adrianschmutzler.de wrote: > when I tested it then, the hexdump offset did accept hexadecimal values > intrinsically. > I remember that because I was quite surprised that offset accepted > hexadecimal values and size didn't. This might be the case for

Re: [OpenWrt-Devel] [PATCH] base-files: fix get_mac_address not accepting hex offsets

2019-09-04 Thread mail
Hi, > -Original Message- > From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] > On Behalf Of David Bauer > Sent: Mittwoch, 4. September 2019 21:19 > To: openwrt-devel@lists.openwrt.org > Cc: m...@adrianschmutzler.de > Subject: [OpenWrt-Deve

[OpenWrt-Devel] [PATCH] base-files: fix get_mac_address not accepting hex offsets

2019-09-04 Thread David Bauer
The get_mac_address helper methods did not support hexadecimal offset values, resulting them to break after 75bfc393ba6c ("treewide: convert MAC address location offsets to hexadecimal") This commit fixes this by evaluating the hexadecimal input, converting them to decimal. Signed-off-by: David