ath79: fix lan port display order for sitecom wlr-7100
Physical port order watched from the back of the device is:
4 / 3 / 2 / 1 / WAN which also matches corresponding leds.
This patch corrects LuCI switch webpage LAN port order.
Signed-off-by: Walter Sonius <walterav1984@gmail.com>
[improve commit title, fix sorting in 02_network]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 46c0634b50)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Adrian Schmutzler
					
				
			
			
				
	
			
			
			
						parent
						
							db6ff390b0
						
					
				
				
					commit
					c459d5a710
				
			@@ -224,6 +224,7 @@ ath79_setup_interfaces()
 | 
				
			|||||||
	dlink,dir-842-c3|\
 | 
						dlink,dir-842-c3|\
 | 
				
			||||||
	dlink,dir-859-a1|\
 | 
						dlink,dir-859-a1|\
 | 
				
			||||||
	engenius,epg5000|\
 | 
						engenius,epg5000|\
 | 
				
			||||||
 | 
						sitecom,wlr-7100|\
 | 
				
			||||||
	tplink,archer-c2-v3|\
 | 
						tplink,archer-c2-v3|\
 | 
				
			||||||
	tplink,tl-wr1043nd-v4|\
 | 
						tplink,tl-wr1043nd-v4|\
 | 
				
			||||||
	tplink,tl-wr1043n-v5)
 | 
						tplink,tl-wr1043n-v5)
 | 
				
			||||||
@@ -263,7 +264,6 @@ ath79_setup_interfaces()
 | 
				
			|||||||
	iodata,wn-ac1600dgr2|\
 | 
						iodata,wn-ac1600dgr2|\
 | 
				
			||||||
	iodata,wn-ag300dgr|\
 | 
						iodata,wn-ag300dgr|\
 | 
				
			||||||
	pcs,cr5000|\
 | 
						pcs,cr5000|\
 | 
				
			||||||
	sitecom,wlr-7100|\
 | 
					 | 
				
			||||||
	wd,mynet-n750)
 | 
						wd,mynet-n750)
 | 
				
			||||||
		ucidef_add_switch "switch0" \
 | 
							ucidef_add_switch "switch0" \
 | 
				
			||||||
			"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
 | 
								"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user