udev: link-config - fix corruption
authorTom Gundersen <teg@jklm.no>
Thu, 21 May 2015 13:22:07 +0000 (15:22 +0200)
committerTom Gundersen <teg@jklm.no>
Thu, 21 May 2015 13:27:24 +0000 (15:27 +0200)
commitdab495dc23bf9a5ba0487a057bb594355555a0e9
tree76ce13378476f7bc38026e6d1eba627a2df322a0
parent3641cff2f1bce4f8d8a46ab9bb988093d45aa697
udev: link-config - fix corruption

The parser used for MTU and Speed expects them to be size_t, not unsigned int.

This caused a corruption in the rest of the structure.

Reported by David O Neill <david.m.oneill@intel.com>.
src/udev/net/link-config.c
src/udev/net/link-config.h