Implement task #14594: Improve consistency of ip route API parameters

reverse parameters of ip4_route_src to be consistent with other ip*_route* functions
This commit will break applications using this function!
This commit is contained in:
Dirk Ziegelmeier
2017-08-08 12:41:19 +02:00
parent 145d6ab5d2
commit 60dd518887
8 changed files with 23 additions and 15 deletions

View File

@@ -10,6 +10,9 @@ with newer versions.
++ Application changes:
* ip4_route_src: parameter order is reversed: ip4_route_src(dest, src) -> ip4_route_src(src, dest)
to make parameter order consistent with other ip*_route*() functions
* pbuf API: pbuf->type (an u8_t holding the enum 'pbuf_type') has changed to only hold a
description of the pbuf (e.g. data following pbuf struct, data volatile, allocation
source heap/pool/etc.). As a consequence, applications can't test pbuf->type any more.