The default uloop error handling is to delete the fd. Continue to do
that, but also set the write_error flag and notify the user.
Signed-off-by: Philip Craig
---
ustream-fd.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/ustream-fd.c b/ustream-fd.c
index 5ffca53
On 10/07/15 21:26, Felix Fietkau wrote:
> On 2015-07-10 09:23, Philip Craig wrote:
>> Otherwise uloop will delete the fd and the ustream will receive no
>> notification of the error.
>>
>> Signed-off-by: Philip Craig
> I think this fix is incomplete. When an e
Otherwise uloop will delete the fd and the ustream will receive no
notification of the error.
Signed-off-by: Philip Craig
---
ustream-fd.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/ustream-fd.c b/ustream-fd.c
index 5ffca53..2c15b42 100644
--- a/ustream-fd.c
If an interface has a metric set, then netifd deletes the automatic kernel
route for the interface subnet, and adds it back with the metric set.
However, the newly added route didn't have the preferred source set.
Signed-off-by: Philip Craig
---
interface-ip.c | 1 +
interface-ip.h