diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-06-13 11:59:26 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2018-06-13 13:36:11 +0200 |
commit | 39e0358161212c5d662208360c1fdcb68ee6b64a (patch) | |
tree | 98681157239c5abc32a4b1add91874896841c3a5 /src/lib/tests/btree_test.c | |
parent | f4e0e4e807709a4c1d02eda4bbe8a0e4f637b741 (diff) | |
download | ouroboros-39e0358161212c5d662208360c1fdcb68ee6b64a.tar.gz ouroboros-39e0358161212c5d662208360c1fdcb68ee6b64a.zip |
ipcpd: Get mtu using ioctl before hw address
The SIOCGIFMTU command uses the ifr struct, which is a union, so it
can't store the hw address and the MTU at the same time. We now call
SIOCGIFMTU and set the MTU before SIOCGIFHWADDR.
Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be>
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib/tests/btree_test.c')
0 files changed, 0 insertions, 0 deletions