Opened 3 years ago

Closed 3 years ago

#18003 closed defect (fixed)

[ddns-scripts 2.0.1-2] wrong regexp in get_local_ip function

Reported by: umhedtracks@… Owned by: developers
Priority: low Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: ddns-scripts Cc:


/usr/lib/ddns/ :

__IP=$(ifconfig $ip_interface | awk '               
    /Bcast.*Mask/ { # Filter IPv4

point-to-point interfaces (such as pppoe-wan) do not have Bcast in ifconfig output, they have P-t-P instead, so the pattern won't work

easily solved with /(Bcast|P-t-P).*Mask/ or just /Mask/

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by chris5560

fixed since 2.0.1-3


P.S. could someone please close the ticket.

comment:2 Changed 3 years ago by cyrus

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

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.