Modify

Opened 7 years ago

Closed 5 years ago

Last modified 4 years ago

#9543 closed enhancement (invalid)

ignore specific internal_iface entries when the corresponding interface is down

Reported by: anonymous Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

It might prove useful to have /etc/init.d/miniupnpd confirm if an internal_iface is up before listening to it

	    for iface in ${intiface:-lan}; do
		local ipaddr
		config_get ipaddr "$iface" ipaddr
		local ifup="$(uci_get_state network "$iface" up)" 
		[ -n "$ipaddr" ] && [ -n "$ifup" ] && \
		    echo "listening_ip=$ipaddr" >>$tmpconf
	    done

On a routed AP it could be possible to schedule wifi downtime ( wifi down && ifdown wifi ) without removing wifi from miniupnpd internal_iface option

Attachments (1)

miniupnpd.patch (444 bytes) - added by anonymous 7 years ago.
Patch for /etc/init.d/miniupnpd

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by anonymous

Patch for /etc/init.d/miniupnpd

comment:1 Changed 5 years ago by jogo

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

Please submit the patch to the mailing list according to SubmittingPatches. I'll close this ticket to keep trac mostly for actual bugs.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.