Project

General

Profile

« Previous | Next » 

Revision 62e5ef29

Added by Doktor Notor over 9 years ago

Make the openvpn-server IP address consistent with CSC overrides behavior

View differences:

etc/inc/openvpn.auth-user.php
186 186
		$content .= "ifconfig-push {$attributes['framed_ip']} {$attributes['framed_mask']}";
187 187
	} else {
188 188
		$content .= "topology net30\n";
189
		$content .= "ifconfig-push {$attributes['framed_ip']} ". long2ip((ip2long($attributes['framed_ip']) + 1));
189
		$content .= "ifconfig-push {$attributes['framed_ip']} ". long2ip((ip2long($attributes['framed_ip']) - 1));
190 190
	}
191 191
}
192 192

  

Also available in: Unified diff