Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7361 closed defect (fixed)

ddns-scripts ip_network config override to "wan" if ip_source is "network"

Reported by: digit Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: ddns-scripts Cc:

Description

r21486

If ip_source is "network", ip_network is always override to "wan". Uninitialized ip_network is handled later, therefore that line can be removed.

--- /usr/lib/ddns/dynamic_dns_functions.sh.orig
+++ /usr/lib/ddns/dynamic_dns_functions.sh
@@ -56,7 +56,6 @@
        if [ "$ip_source" != "interface" ] && [ "$ip_source" != "web" ] && [ "$ip_source" != "script" ]
        then
                ip_source="network"
-               ip_network="wan"
        fi

        if [ "$ip_source" = "network" ]
        then
                if [ -z "$ip_network" ]
                then
                        ip_network="wan"
                fi

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Committed r21512 - thanks!

comment:2 Changed 7 years ago by nico

  • Milestone changed from Kamikaze Bugs Paradise to Backfire 10.03.1

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.