Project

General

Profile

« Previous | Next » 

Revision 3eb00b49

Added by Marcus Brown over 14 years ago

We don't want to detach netgraph nodes from interfaces that are used by
any PPPoE/PPTP/L2TP configurations.

View differences:

etc/inc/interfaces.inc
126 126
					$found = true;
127 127
					break;
128 128
				}
129
				$ports = explode(',',$ppp['ports']);
130
				foreach($ports as $pid => $port){
131
					if ($realif == $port) {
132
						$found = true;
133
						break;
134
					}
135
				}
129 136
			}
130 137
		}
131 138
	}

Also available in: Unified diff