Re: [PATCH iproute2-next] ip: add IP_LIB_DIR environment variable

2020-12-02 Thread David Ahern
On 12/1/20 3:08 AM, Sergey Ryazanov wrote: > As for the patch, it is intended to make developer life easier by > allowing them to focus on development instead of maintaining a fork of > iproute2 source tree. The patch introduces the same functionality to > override plugins loading directory for ip,

Re: [PATCH iproute2-next] ip: add IP_LIB_DIR environment variable

2020-12-01 Thread Sergey Ryazanov
On Mon, Nov 30, 2020 at 8:25 PM David Ahern wrote: > > [ sorry, this got lost in the backlog ] Do not worry. This patch is 1.5 years old :) I keep it in my local portages, but then I decide that it will be helpful for other developers too. > On 11/22/20 10:39 AM, Sergey Ryazanov wrote: > > Do no

Re: [PATCH iproute2-next] ip: add IP_LIB_DIR environment variable

2020-11-30 Thread David Ahern
[ sorry, this got lost in the backlog ] On 11/22/20 10:39 AM, Sergey Ryazanov wrote: > Do not hardcode /usr/lib/ip as a path and allow libraries path > configuration in run-time. > > Signed-off-by: Sergey Ryazanov > --- > ip/ip.c| 15 +++ > ip/ip_common.h | 2 ++ > ip/iplin

[PATCH iproute2-next] ip: add IP_LIB_DIR environment variable

2020-11-22 Thread Sergey Ryazanov
Do not hardcode /usr/lib/ip as a path and allow libraries path configuration in run-time. Signed-off-by: Sergey Ryazanov --- ip/ip.c| 15 +++ ip/ip_common.h | 2 ++ ip/iplink.c| 5 + 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ip/ip.c b/ip/ip.c i