/data change; before interface update events were actually sent wihtout
any parameter change.
Signed-off-by: Hans Dedecker
---
interface.c | 9 ++---
interface.h | 2 +-
proto-shell.c | 7 +++
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/interface.c b/interface.c
index
considered infinite if valid_unil
holds the value 0.
Signed-off-by: Hans Dedecker
---
This fixes broken IPv6 connectivity in case infinite is specified as
a leasetime value for a dhcp pool as odhcpd was considering this as
an invalid value and deleted the interface. This particular problem
can
Fix ubus valid parameter being displayed as a negative number;
also display infinite lifetime as INT32_MAX
Signed-off-by: Hans Dedecker
---
src/ubus.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/ubus.c b/src/ubus.c
index 14d0a5f..425abe4 100644
--- a/src
Keep the valid_until assignment parameter in sync with the
leasetime assigned to the DHCP client when handling DHCP
request message.
This guarantees the contents of the ubus dhcp ipv4leases valid
parameter is in sync with the client leasetime
Signed-off-by: Hans Dedecker
---
src/dhcpv4.c | 11
Add support for DHCPv4 clients proposing a leasetime;
proposed leasetime will be accepted if it does not
exceed either the pool or configured lease leastime.
Further rework the duplicated leasetime logic which
was in place.
Signed-off-by: Hans Dedecker
---
src/dhcpv4.c | 34
Signed-off-by: Hans Dedecker
---
src/dhcpv6-ia.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index 597bc74..852af97 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -247,7 +247,8 @@ void dhcpv6_write_statefile(void
On Thu, Nov 17, 2016 at 11:13 PM, Karl Palsson wrote:
>
> Hans Dedecker wrote:
>> Add support for infinite leasetime value; this can be done by
>> specifying "infinite" as leasetime value which is similar to
>> dnsmasq infinite leasetime support. Specifying &
On Thu, Nov 17, 2016 at 11:15 PM, Karl Palsson wrote:
>
> Hans Dedecker wrote:
>> Fix ubus valid parameter being displayed as a negative number;
>> also display infinite lifetime as INT32_MAX
>
> Really? Why not 0 or -1? You dont' specify an infinite lease as
>
On Friday, 18 November 2016 12:33:25 CET Dan Lüdtke wrote:
> Hi everyone,
>
> I have a weird situation where proto_add_host_dependency() does not like
> IPv6 addresses. The WAN/WAN6 interface don't have global unicast addresses
> assigned, but my protocol script calls
>
> proto_add_host_dependen
Display infinite valid lifetime as -1 both in ubus
and statefile
Signed-off-by: Hans Dedecker
---
Follow-up patch as a result of the remark given in
http://lists.infradead.org/pipermail/lede-dev/2016-November/004133.html
src/dhcpv6-ia.c | 16
src/ubus.c | 4 ++--
2 files
vlan device in the dependency
list of the layer 3 device as it has been created as a dependency of
the aliased device.
Signed-off-by: Hans Dedecker
---
ubus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ubus.c b/ubus.c
index 4d43b57..8ba43c0 100644
--- a/ubus.c
+++ b/u
Use device_find in device_create so it's clear a device lookup
is being done in the device list.
Signed-off-by: Hans Dedecker
---
device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/device.c b/device.c
index 82596e4..3c57a02 100644
--- a/device.c
+++ b/dev
Fix assignment of static DHCPv6 leases which was broken
by commit 6c3bc0141dacc88992583d6f2cdc8a360df7422d.
At the same time fix lifetime check of existing assignments
having a finite lifetime
Fixes FS#309
Signed-off-by: Hans Dedecker
---
src/dhcpv6-ia.c | 4 +++-
1 file changed, 3 insertions
updating it.
Signed-off-by: Hans Dedecker
---
src/dhcpv6-ia.c | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index f4bf044..20ef1f8 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -773,8 +773,10 @@ static size_t
Display the IPv6 address obtained from a prefix assignment
as local-address element in the ubus ipv6-prefix-assignment
list so it's explicitly clear which IPv6 address from the
delegated prefix is assigned to the interface.
Signed-off-by: Hans Dedecker
---
ubus.c | 11 ++-
1
On Mon, Dec 19, 2016 at 11:38 AM, Weedy wrote:
> On 16 December 2016 at 15:21, Weedy wrote:
>> So I just ran into this updating master from 2ish weeks ago.
>>
>> root@OpenWrt:~# cat /tmp/resolv.conf
>> # Interface wan
>> nameserver 206.248.154.170
>> nameserver 206.248.154.22
>> root@OpenWrt:~# c
On Sun, Dec 11, 2016 at 3:03 AM, Matthias Schiffer
wrote:
> Add a new boolean attribute ip6preferred to the static protocol which can
> be set to 0 to mark IPv6 addresses as deprecated (set the preferred
> lifetime to 0). This is useful to configure addresses that may be used for
> incoming, but n
On Mon, Dec 19, 2016 at 10:10 PM, Matthias Schiffer
wrote:
> On 12/19/2016 10:02 PM, Hans Dedecker wrote:
>> On Sun, Dec 11, 2016 at 3:03 AM, Matthias Schiffer
>> wrote:
>>> Add a new boolean attribute ip6preferred to the static protocol which can
>>> be s
As the ttl of a gre tunnel was set by default to 64 the gre tunnel
failed to get active if don't fragment was disabled as setting
nopmtudisc and ttl is incompatible.
Fix this by setting the default ttl value after don't fragment
and ttl config values have been parsed.
Signed-off-by: Han
On Mon, Jan 2, 2017 at 8:02 PM, Dave Taht wrote:
> 1) In a topology like this:
>
> ISP
> |
> routerA
> |
> routerB
> |
> routerC
>
> what options now exist in lede for getting an ipv6 subnet to routerC
> from routerA after being provided by the ISP? (the basic PD allocation
> from ISP to A seem
uot;
>>
>> - the options "ra", "ndp", "dhcpv4" and "dhcpv6" to take precedence over the
>>default "ignore" state to allow selectively enabling services on ignored
>>interfaces
>>
>> - the README to clar
a numerical value
Signed-off-by: Hans Dedecker
---
interface-ip.c | 21 +
interface-ip.h | 5 +++--
system-dummy.c | 6 ++
system-linux.c | 52 +++-
system.h | 1 +
ubus.c | 3 +++
6 files changed, 81
On Tue, Jan 17, 2017 at 5:00 PM, Dave Täht wrote:
> Thank you Hans, this made my day.
>
> On 1/17/17 6:34 AM, Toke Høiland-Jørgensen wrote:
>> Hans Dedecker writes:
>>
>>> Route proto support is usefull when using route distribution
>>> via a routing daemo
.
Signed-off-by: Hans Dedecker
---
v2: Use /etc/iproute2/rt_tables as fallback to resolve rt_proto string
interface-ip.c | 21 +
interface-ip.h | 5 +++--
system-dummy.c | 6 ++
system-linux.c | 42 --
system.h | 1 +
ubus.c
Hi Daniel
odhcpd uses 0 to indicate a lease is expired while -1 is used to
reperesent infinite leasetime since the support of infinite leasetime
(http://lists.infradead.org/pipermail/lede-dev/2016-November/004133.html).
I have my doubts can you make a distinction in dnsmasq between
infinite leaset
first
-Finally the alphabetical order of the interfaces in case of equal
ip6weight
Signed-off-by: Hans Dedecker
---
interface-ip.c | 57 -
interface-ip.h | 1 +
interface.c| 6 ++
interface.h| 1 +
ubus.c | 2 ++
5
On Friday, 10 February 2017 09:11:17 CET Dave Taht wrote:
> Hans, jow, blogic, everybody...
>
> I have been pulling lede-head stuff and starting to build lede again
> (for the first time in 3 years), but I'd given up on the ipv6
> issues[1].
>
> After reviewing odhcpd/procd/etc latest git commits
On Tue, Feb 14, 2017 at 11:35 PM, Philip Prindeville
wrote:
>
>> On Feb 11, 2017, at 11:11 PM, Stijn Tintel wrote:
>>
>> On 10-02-17 18:11, Dave Taht wrote:
>>> About the biggest request from the field seems to be supplying RA and
>>> dhcpv6 dns on a more real IPv6 address than fe80 to make andro
When ubus connect fails ctx->sock.eof will be set but ctx->sock.error
can be set as well. Reset ctx->sock.error as well when doing ubus
reconnect
Signed-off-by: Hans Dedecker
---
libubus-io.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libubus-io.c b/libubus-io.c
index 7047ac5
Variable listen_timeout is redefined as a function resulting into
a compile issue. Define the function as ubus_cli_listen_timeout
to fix the compile issue.
Signed-off-by: Hans Dedecker
---
cli.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cli.c b/cli.c
index 1949a17
Variable listen_timeout is redefined as a function resulting into
a compile issue. Define the function as ubus_cli_listen_timeout
to fix the compile issue.
Signed-off-by: Hans Dedecker
---
cli.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cli.c b/cli.c
index 1949a17
When ubus connect fails ctx->sock.eof will be set but ctx->sock.error
can be set as well. Reset ctx->sock.error as well when doing ubus
reconnect
Signed-off-by: Hans Dedecker
---
libubus-io.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libubus-io.c b/libubus-io.c
index 7047ac5
On Thursday, 23 February 2017 22:23:32 CET Matthias Schiffer wrote:
> VXLAN shares many attributes with the tunnel devices, so it is implemented
> as a new tunnel type. The 'remote' attribute can be used for an unicast
> peer or a multicast group.
>
> The IANA-assigned port 4789 is used by default
On Fri, Feb 24, 2017 at 6:12 PM, Matthias Schiffer
wrote:
> On 02/24/2017 05:53 PM, Hans Dedecker wrote:
>> On Thursday, 23 February 2017 22:23:32 CET Matthias Schiffer wrote:
>>> VXLAN shares many attributes with the tunnel devices, so it is implemented
>>> as a n
t 4789 is used by default, instead of the non-standard
> port Linux defaults to.
>
> Signed-off-by: Matthias Schiffer
Acked-by: Hans Dedecker
> ---
>
> v2: Updated to use a nested JSON object for the VXLAN-specific attributes -
> although one could argue that MAC address,
Trigger interface update event when IPv6 address lifetime changes by setting
the address indicator flag to inform external subsystems about IPv6 address
lifetime change.
Signed-off-by: Hans Dedecker
---
interface-ip.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a
Trigger interface update event when IPv6 prefix lifetime changes by setting
the prefix indicator flag to inform external subsystems (eg hnetd) about IPv6
prefix lifetime changes.
Signed-off-by: Hans Dedecker
---
interface-ip.c | 4
1 file changed, 4 insertions(+)
diff --git a/interface
On Thu, Mar 9, 2017 at 10:20 PM, Matthias Schiffer
wrote:
> On 03/09/2017 05:32 PM, Hans Dedecker wrote:
>> Trigger interface update event when IPv6 address lifetime changes by setting
>> the address indicator flag to inform external subsystems about IPv6 address
>> lifetime
On Fri, Mar 10, 2017 at 12:08 AM, Matthias Schiffer
wrote:
> On 03/09/2017 11:03 PM, Hans Dedecker wrote:
>> On Thu, Mar 9, 2017 at 10:20 PM, Matthias Schiffer
>> wrote:
>>> On 03/09/2017 05:32 PM, Hans Dedecker wrote:
>>>> Trigger interface update event w
Hi,
On Wed, Mar 8, 2017 at 10:23 PM, JORDI PALET MARTINEZ
wrote:
> Hi Hans,
>
> I believe you’re the maintainer of 464XLAT. I want to do demonstrations of
> OpenWRT/LEDE in scenarios where you run out of IPv4 addresses for the WAN
> links.
>
> Sorry to write you directly, but I’ve been trying f
t at the moment ..
You can revert netifd commit
https://git.lede-project.org/?p=project/netifd.git;a=commit;h=39d9ceeb96162a83a3f5fa63e6aaa1ccb38caa62
and based on this netifd version do further 464xlat tests.
Other bug reports/feature requests need to be opened in github openwrt
routing as an issu
Parse gre specific settings ikey, okey, icsum, ocsum, iseqno and oseqno
as nested json data object
Signed-off-by: Hans Dedecker
---
system-linux.c | 48 +---
system.c | 14 ++
system.h | 11 +++
3 files changed, 54
Parse vti specific settings ikey and okey as nested json data object.
At the same time remove the now obsolete TUNNEL_ATTR_INFO attribute.
Signed-off-by: Hans Dedecker
---
system-linux.c | 29 -
system.c | 11 ++-
system.h | 8 +++-
3 files
On Tue, Mar 14, 2017 at 11:32 PM, Felix Fietkau wrote:
> On 2017-03-14 21:36, Hans Dedecker wrote:
>> Parse gre specific settings ikey, okey, icsum, ocsum, iseqno and oseqno
>> as nested json data object
>>
>> Signed-off-by: Hans Dedecker
> Are you sure this
On Mon, Mar 20, 2017 at 3:08 PM, Alexandru Ardelean
wrote:
> From: Alexandru Ardelean
>
> The context is that we generate some of the UCI config
> for netifd via scripts/programs.
>
> Every once in a while, there's a goof when doing that
> UCI generation, and netifd prints out the error at
> stde
On Sun, Mar 26, 2017 at 6:21 PM, Alexandru Ardelean
wrote:
> On Sun, Mar 26, 2017 at 7:06 PM, Hans Dedecker wrote:
>> On Mon, Mar 20, 2017 at 3:08 PM, Alexandru Ardelean
>> wrote:
>>> From: Alexandru Ardelean
>>>
>>> The context is that we generate
On Sun, Mar 26, 2017 at 6:45 PM, Alexandru Ardelean
wrote:
> On Sun, Mar 26, 2017 at 7:38 PM, Hans Dedecker wrote:
>> On Sun, Mar 26, 2017 at 6:21 PM, Alexandru Ardelean
>> wrote:
>>> On Sun, Mar 26, 2017 at 7:06 PM, Hans Dedecker wrote:
>>>> On Mon, Mar 20,
but returns 0 (success) err-code.
>
> This change will fail the ubus call if UCI config
> is invalid or missing for /etc/config/network.
>
> Signed-off-by: Alexandru Ardelean
Acked-by: Hans Dedecker
> ---
> config.c | 10 --
> config.h | 2 +-
> main.c | 4 ++
On Mon, Mar 20, 2017 at 3:08 PM, Alexandru Ardelean
wrote:
> From: Alexandru Ardelean
>
> Traditionally if a reload script fails, it will fallback to restart.
>
> That seems to be the default behavior in case no reload
> handler has been specified, and `reload` will return 1.
>
> That also has th
referenced layer 3 device.
Signed-off-by: Hans Dedecker
---
interface-ip.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/interface-ip.c b/interface-ip.c
index dd4e01c..140ef34 100644
--- a/interface-ip.c
+++ b/interface-ip.c
@@ -1287,13 +1287,14
On Mon, Apr 10, 2017 at 11:08 AM, Lubomir Rintel wrote:
> There might be unassigned IAs among the options the client sends when it
> issues a REBIND. In fact, that's how the ISC dhclient reqests new IA_PDs
> to be assigned. However, odhcpd would just return the IA_PDs back
> without assigning a pr
On Wed, Apr 12, 2017 at 7:53 PM, Matthias Schiffer
wrote:
> Not all topology or connectivity changes may be detected by netifd,
> depending on the underlying technology (e.g. VPN software); this adds a way
> to explicitly trigger a renew.
>
> Signed-off-by: Matthias Schiffer
On Mon, Apr 24, 2017 at 4:24 AM, Eric Luehrsen wrote:
> This reverts commit a03216660797173fbe67866f75564e3fec9c1e8d. The previous
> change causes IFUP events to occur from 30 seconds to 30 minutes depending
> on various conditions at the WAN6 (typ.) interface. If a DHCPv6 lease is
> 24 hours and
On Wed, May 4, 2016 at 1:16 PM, Jo-Philipp Wich wrote:
>
> Hi Michael,
>
> several people expressed the intention to continue pushing patches to
> both trees. In any case we'll keep picking stuff from both lists for
> LEDE for some time to come.
>
> Regards,
> Jo-Philipp
>
> __
Remove the udhcpc -R release option as sending a DHCP release
is configurable via the uci option release.
Signed-off-by: Hans Dedecker
---
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/config
The option --disable-utmpx was deleted by accident in commit 7545c1d;
add it again to the CONFIGURE_ARGS list
Signed-off-by: Hans Dedecker
---
package/network/services/dropbear/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/network/services/dropbear/Makefile
b/package
the specified DHCP(v6)
interfaces; if empty all interfaces are considered
Signed-off-by: Hans Dedecker
---
The patch is based on a previous discussion held on the OpenWRT-devel mailing
list
(https://lists.openwrt.org/pipermail/openwrt-devel/2016-January/039081.html) as
per Felix's
comments
enabling DHCP ntp server config without explicit config ?
Regarding the improvements do you want me to send a patch containing
the diff with the already staged commit or do you prefer a v2 patch ?
Hans
>
> ~ Jo
>
> On 05/19/2016 06:57 PM, Hans Dedecker wrote:
>> The busybox ntpd ut
On Fri, May 20, 2016 at 3:18 PM, David Lang wrote:
> On Fri, 20 May 2016, Jo-Philipp Wich wrote:
>
>> Hi Hans,
>>
>>> I wanted to preserve the ntp server behavior and only change the
>>> behavior when configured in order to keep backwards compatibility. You
>>> favour enabling DHCP ntp server conf
On Fri, May 20, 2016 at 3:59 PM, Conor O'Gorman wrote:
>
>
> On 20/05/16 14:43, Hans Dedecker wrote:
>>
>> On Fri, May 20, 2016 at 3:18 PM, David Lang wrote:
>>>
>>> On Fri, 20 May 2016, Jo-Philipp Wich wrote:
>>>
>>>> Hi Hans,
the specified DHCP(v6)
interfaces; if empty all interfaces are considered
Signed-off-by: Hans Dedecker
---
v1 -> v2:
Make jsonfilter dependant on BUSYBOX_CONFIG_NTPD
Pipe output of network dump into jsonfilter
use_dhcp is by default enabled
Install fine grai
On Mon, May 23, 2016 at 12:04 AM, Daniel Dickinson
wrote:
> Hi,
>
> I've noticed that network_trigger has gone away and is replaced by
> interface_trigger, but have seen raw_trigger too, and am not clear on
> when one would use which.
If you want to install a trigger for a specific interface you c
state
config interface 'test'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
config interface 'test2'
option ifname '@test.1'
option proto 'dhcp'
Signed-off-by: Hans Ded
As device name is used as key in avl list a device name change will break the
avl find logic.
Function device_set_ifname offers api to set the device name and re-inserts the
avl node in the list
when the avl key value is changed.
Signed-off-by: Hans Dedecker
---
alias.c | 9
Replace device_get by device_find so it's clear a device needs to be found
present
in the device list.
Signed-off-by: Hans Dedecker
---
system-linux.c | 2 +-
ubus.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/system-linux.c b/system-linux.c
index 98
On Mon, Jun 6, 2016 at 12:38 PM, Eyal Birger wrote:
> Hi Hans,
>
> On Mon, Jun 6, 2016 at 1:03 PM, Hans Dedecker wrote:
>> As device name is used as key in avl list a device name change will break
>> the avl find logic.
>> Function device_set_ifname offers api to
Replace device_get by device_find so it's clear a device needs to be found
present
in the device list.
Signed-off-by: Hans Dedecker
---
v1 -> v2 : Remove extra white line in netifd_handle_set_state
system-linux.c | 2 +-
ubus.c | 2 +-
2 files changed, 2 insertions(+), 2 d
state
config interface 'test'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
config interface 'test2'
option ifname '@test.1'
option proto 'dhcp'
Signed-off-by: Hans Dedecke
As device name is used as key in avl list a device name change will break the
avl find logic.
Function device_set_ifname offers api to set the device name and re-inserts the
avl node in the list
when the avl key value is changed.
Signed-off-by: Hans Dedecker
---
v1 -> v2 : Fix debug print
On Wed, Jun 15, 2016 at 11:58 AM, Felix Fietkau wrote:
> On 2016-06-15 11:39, Conor O'Gorman wrote:
>> On 09/06/16 03:20, Yousong Zhou wrote:
>>> Fix a race condition when do_sigchld, uloop_cancelled were set just
>>> before epoll_wait(timeout=-1), resulting the loop stuck in the syscall
>>> witho
On Wed, Jun 15, 2016 at 4:54 PM, Mats Karrman wrote:
>
> On 2016-06-15 15:16, Felix Fietkau wrote:
>>
>> On 2016-06-15 15:13, Hans Dedecker wrote: >> On Wed, Jun 15, 2016 at
>> 11:58 AM, Felix Fietkau >>
>
> wrote: >>> On 2016-06-15 11:39, Cono
Fixes missing link state event propagation for an aliased device in case a new
device is added
as the link state has the last known status of the old device possible
resulting into
no link state change detection.
Signed-off-by: Hans Dedecker
---
alias.c | 4 +++-
1 file changed, 3 insertions
persist state trying to
re-establish the link via
a hold off mechanism which is not possible when the daemon is terminated by the
proto shell
teardown.
Therefore restrict the teardown action for shell protocols having no proto task.
Signed-off-by: Hans Dedecker
---
interface.c | 3 ++-
1 file
Signed-off-by: Hans Dedecker
---
proto.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/proto.c b/proto.c
index 45eeb4b..4cbf3f4 100644
--- a/proto.c
+++ b/proto.c
@@ -567,7 +567,13 @@ proto_dump_handlers(struct blob_buf *b)
blobmsg_add_string(b,
p
Export the config parameter "no-proto-task" as a proto flag so it can be checked
by other netifd modules
Signed-off-by: Hans Dedecker
---
proto-shell.c | 6 +++---
proto.h | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/proto-shell.c b/proto-shell.c
ind
On Thu, Jul 14, 2016 at 12:01 PM, Yousong Zhou wrote:
> On 14 July 2016 at 16:14, Hans Dedecker wrote:
>> Commit c6858766 adds teardown support when l3_dev link is lost especially
>> for shell protocols
>> that have no proto task. However shell protocols which have a proto
On Thu, Jul 14, 2016 at 4:56 PM, Felix Fietkau wrote:
> On 2016-07-14 16:53, Yousong Zhou wrote:
>> On 14/07/2016, Felix Fietkau wrote:
>>> On 2016-07-14 13:28, Hans Dedecker wrote:
>>>> On Thu, Jul 14, 2016 at 12:01 PM, Yousong Zhou
>>>> wrote:
>
On Thu, Jul 14, 2016 at 11:20 PM, Felix Fietkau wrote:
> On 2016-07-14 23:10, Hans Dedecker wrote:
>> Felix,
>>
>> Currently the xl2tp protocol script registers itself as having
>> no_proto_task which is used in proto_shell_task_finish to send a
>> teardown wh
function parse_addr so
experimantal/multicast addresses cannot be added as a host IP address while
multicast routes can be added again.
Signed-off-by: Hans Dedecker
---
proto.c | 20 +++-
utils.c | 19 +--
2 files changed, 16 insertions(+), 23 deletions(-)
diff
Export the config parameter "no-proto-task" as a proto flag so it's available
for other
other netifd modules
Signed-off-by: Hans Dedecker
---
Changes in v2:
-PROTO_FLAG_NO_TASK assigned value 0x80
proto-shell.c | 6 +++---
proto.h | 1 +
2 files changed, 4 i
persist state trying to re-establish the link via a hold-off mechanism
if layer 3 link loss is detected.
Therefore shell handlers can enable via TEARDOWN_ON_L3_LINK_DOWN a proto
flag which will teardown the interface when layer 3 link loss is detected
Signed-off-by: Hans Dedecker
---
Changes in v2
Signed-off-by: Hans Dedecker
---
Changes in v2:
-Display flag PROTO_FLAG_TEARDOWN_ON_L3_LINK_DOWN
proto.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/proto.c b/proto.c
index 45eeb4b..3b973d9 100644
--- a/proto.c
+++ b/proto.c
@@ -567,7 +567,14 @@ proto_dump_handlers(struct
interface_set_device_config can trigger a device free (for example
if the device is here only present in a bridge), which renders dev
invalid and leads to segfault. Add a lock to prevent this and
clean-up the code for readability.
Signed-off-by: Gino Peeters
Signed-off-by: Hans Dedecker
Signed-off-by: Hans Dedecker
---
inittab.c | 4
utils/utils.c | 4
2 files changed, 8 insertions(+)
diff --git a/inittab.c b/inittab.c
index 6dde11a..ae2c431 100644
--- a/inittab.c
+++ b/inittab.c
@@ -31,6 +31,10 @@
#include "procd.h"
#include "rcS.h"
+#if
Karl P
>
>
> Hans Dedecker wrote:
>> Signed-off-by: Hans Dedecker
>> ---
>> inittab.c | 4
>> utils/utils.c | 4
>> 2 files changed, 8 insertions(+)
>>
>> diff --git a/inittab.c b/inittab.c
>> index 6dde11a..ae2c431 1006
On Sun, Aug 14, 2016 at 1:20 AM, Daniel Dickinson
wrote:
> Hi,
>
> Just wondering if I missed any questions or comments about the odhcpd
> per-host leasetime patch I sent some time ago? I don't recall seeing
> anything and I wasn't following the list all that closely for a while
> for personal re
Hi Felix,
Current implementation in netifd writes the dns servers into
resolv.conf.auto file based on the order of the interfaces in the
interface list which is alphabetical sorted. The resolver, in this
case dnsmasq, reads the resolv.conf.auto file and queries the
nameserver(s) in the order liste
On Mon, Sep 5, 2016 at 1:49 PM, Jo-Philipp Wich wrote:
> Hi Hans,
>
> imho it would also make sense to take any existing metric setting into
> account as well. At least I'd expect that if I have a wan1 with metric
> 10 and a wan2 with metric 20 that the DNS server entries "inherit" the
> same weig
over a main and backup interface
-Assign priority to IPv6 name servers over IPv4 or vice versa
Signed-off-by: Hans Dedecker
---
interface-ip.c | 73 +++---
interface.c| 6 +
interface.h| 1 +
ubus.c | 1 +
4 files changed
saturation on the lan if a new stream is joined as
multiple multicast streams are received.
Signed-off-by: Hans Dedecker
---
device.c | 9 +
device.h | 3 +++
system-linux.c | 9 +
3 files changed, 21 insertions(+)
diff --git a/device.c b/device.c
index fa3d00f
interfaces resulting into no hotplug down event for all interfaces.
Therefore don't flush the interface hotplug queue in case an interface reload
event is observed.
Signed-off-by: Hans Dedecker
---
interface-event.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/inte
On Wed, Sep 14, 2016 at 1:15 PM, Felix Fietkau wrote:
> On 2016-09-13 14:33, Hans Dedecker wrote:
>> Dropping hotplug event in case of interface reload results into hotplug
>> scripts
>> not being being run for the interface and thus external actors not being
>> i
Fixes creation of macvlan devices by UCI due to device handlers rework
Signed-off-by: Hans Dedecker
---
macvlan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/macvlan.c b/macvlan.c
index 01a48cd..021d394 100644
--- a/macvlan.c
+++ b/macvlan.c
@@ -254,7 +254,7
Signed-off-by: Hans Dedecker
---
bridge.c | 2 +-
device.h | 1 -
wireless.c | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/bridge.c b/bridge.c
index 98e237b..8e6c9a6 100644
--- a/bridge.c
+++ b/bridge.c
@@ -80,7 +80,7 @@ static void bridge_dump_info(struct device
Fixes creation of tunnel devices by UCI due to device handlers rework
Signed-off-by: Hans Dedecker
---
tunnel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tunnel.c b/tunnel.c
index 32f3613..3fa3e21 100644
--- a/tunnel.c
+++ b/tunnel.c
@@ -90,7 +90,7 @@ tunnel_free
when the underlying device is
switched during a reload;
the alias_set_device function can add a new dependency on the new active device
which will put the
aliased device in active mode again as the aliased device is already claimed by
the interface
using it.
Signed-off-by: Hans Dedecker
Fixes creation of vlan 8021ad/8021q devices by UCI due to device handlers rework
Signed-off-by: Hans Dedecker
---
vlandev.c | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/vlandev.c b/vlandev.c
index becaed8..b065c27 100644
--- a/vlandev.c
+++ b/vlandev.c
While at it; make device_types static if only used in the device type file
Signed-off-by: Hans Dedecker
---
alias.c | 2 --
bridge.c | 5 +
device.c | 15 +--
device.h | 2 --
macvlan.c | 7 ++-
tunnel.c | 5 -
vlandev.c | 7 ++-
7 files changed, 26
Signed-off-by: Hans Dedecker
---
vlandev.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/vlandev.c b/vlandev.c
index b065c27..7e46251 100644
--- a/vlandev.c
+++ b/vlandev.c
@@ -20,14 +20,12 @@
#include "system.h"
enum {
- VLANDEV
Hi Felix,
An aliased interface can be specified as bridge member which is
usefull in case the underlying device is dynamically created.
In case the device is not yet present an empty string will be
displayed in the ubus bridge member section as the aliased device
ifname has not yet been set; not d
1 - 100 of 226 matches
Mail list logo