Add preferred shift time to the UTC time
ValidLifetime parameter: Replace localtime with UTC time
RouteLifetime parameter: Replace localtime with UTC time
IPv6 PreferredLifetime parameter: Replace localtime with UTC time
Security LastModif parameter: Replace localtime with UTC time
AssociationTime parameter: Replace localtime with UTC time
IPV6 PreferredLifetime, ValidLifetime parameter: Replace localtime with UTC time
DHCPv6 PreferredLifetime, ValidLifetime parameter: Replace localtime with UTC time
Add dm_time_utc_format function to get UTC time format
DHCPv4 LeaseTimeRemaining parameter: Replace localtime with UTC time
DeviceInfo Date parameter: Replace localtime with UTC time
DynamicDNS LastUpdate parameter: Replace localtime with UTC time
VoiceService ExpireTime parameter: Replace localtime with UTC time
Backup() parameter: Replace localtime with UTC time
- Fix get/set of LeaseTime, StaticAddressNumberOfEntries parameters
- Fix an issue in add object of DHCPv4.Server.Pool.{i}. object
- enhance get/set of some parameters: Enable, Status, SubnetMask, DomainName, IPRouters. so get the value from data instead of the mapping for all the sections and get the corresponding section based on its section name
- remove unused argument from dmuci_add_section() and dmuci_add_section_bbfdm() functions
- use snprintf instead of dmasptintf
- change function name: add_list_paramameter -> add_list_parameter
Fix Get/Set value of these parameters which has a hexbinary encoded value according to the TR-181 standard
- Device.DHCPv4.Server.Pool.{i}.Option.{i}.Value
- Device.DHCPv4.Client.{i}.SentOption.{i}.Value
- Device.DHCPv4.Relay.Forwarding.{i}.UserClassID
- Device.DHCPv6.Server.Pool.{i}.VendorClassID
- Device.DHCPv6.Server.Pool.{i}.UserClassID
- Device.DHCPv6.Server.Pool.{i}.Option.{i}.Value
- Device.WiFi.Radio.1.SupportedStandards : fix its value
- Device.WiFi.EndPoint.1.WPS.ConfigMethodsEnabled : fix its set value
- Device.WiFi.EndPoint.1.WPS.PIN : fix its set value
- Device.WiFi.EndPoint. : fix segfault when calling delete_obj all
- Move missing mcast functions from dmcommon file to mcast file
- Remove extern from function declarations
- Fix some indentation
- Comment unsupported parameters
It was observed on dg400prime that the uci config was not correctly
generated when wan was of type anywan, this has been taken care of in
this patch. For anywan type IP interface, the list of upstream interfaces
is generated to keep each interface in mind. So, Device.IP.Interface.2
in this case will generate
list upstream_interface 'eth5.1'
list upstream_interface 'atm0.1'
list upstream_interface 'ptm0.1'
test:
- Verify that config is correctly generated for normal interface.
- Verify that config is correctly generated for anywan interface.
- Verify that config is correctly generated for bridge interface.