diff options
| author | Pawel Dembicki <p.dembicki@wb.com.pl> | 2019-06-14 12:28:00 +0200 |
|---|---|---|
| committer | Pawel Dembicki <p.dembicki@wb.com.pl> | 2019-06-14 13:04:07 +0200 |
| commit | e296eae4f3acb9b63758cba7a536c0675fb3fd1a (patch) | |
| tree | 760149e3250af70f53ce7155ea7f8b692f052e7d /lib/lib_errors.h | |
| parent | 0590d2d209d2697402ca1f1976cb04ffa48b9d76 (diff) | |
eigrpd: Fix endianness issue in packets
Net prefixes in eigrp update packets is created and read
without check host endianness.
This patch use ntohl and htonl to read and write ip prefix
from and to packet.
Tested: x86, powerpc
Signed-off-by: Pawel Dembicki <p.dembicki@wb.com.pl>
Diffstat (limited to 'lib/lib_errors.h')
0 files changed, 0 insertions, 0 deletions
