router: use enum to specify order and index of iov struct
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 29 Jun 2017 12:02:32 +0000 (14:02 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 29 Jun 2017 12:15:23 +0000 (14:15 +0200)
commit803b83ec64d6f77262b378b83af0a9d84da68c49
tree731c92a29ea689d52ede69016500bf52aa7e1c0c
parent5dad295c283a8ab8101d58ec3d8ead49a3a62a19
router: use enum to specify order and index of iov struct

Improve code maintainability by using enum to order and index iov struct

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/router.c