inet: Fix error handling when adding/removing routes
authorForest Bond <forest.bond@rapidrollout.com>
Mon, 7 Jan 2013 14:24:26 +0000 (09:24 -0500)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 8 Jan 2013 13:02:03 +0000 (15:02 +0200)
commite03a01d3182d555d3d2c27494256821c9eb4ed81
tree46d9312fadbc6a594852b51afc9a4dd34259f086
parent3a7ad9492e309484908136aef7e47dd337b20079
inet: Fix error handling when adding/removing routes

Functions that add and remove routes now return an appropriate error
code.  EEXIST and ESRCH are ignored when adding and removing routes
(respectively) to reduce spurious error messages in the logs.
src/inet.c