When I ran ./relaymyhome full, it would only get the first available MAC address, instead of the entire array.
I modified the array syntax in generateFullMacAddressList() and the code that calls it, in order to better handle array passing.
For reference, see "Example 36-20. Passing and returning arrays" on this page: http://tldp.org/LDP/abs/html/assortedtips.html
When I ran
./relaymyhome full
, it would only get the first available MAC address, instead of the entire array.I modified the array syntax in
generateFullMacAddressList()
and the code that calls it, in order to better handle array passing. For reference, see "Example 36-20. Passing and returning arrays" on this page: http://tldp.org/LDP/abs/html/assortedtips.html