1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/users/20vpnusers mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/users/20vpnusers |
2 |
--- e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/users/20vpnusers 2005-06-11 11:31:10.000000000 -0600 |
3 |
+++ mezzanine_patched_e-smith-radiusd-1.0.0/root/etc/e-smith/templates/etc/raddb/users/20vpnusers 2007-05-18 07:44:40.000000000 -0600 |
4 |
@@ -18,5 +18,12 @@ |
5 |
$OUT .= <<HERE; |
6 |
$name Service-Type == Framed-User, Framed-Protocol == PPP |
7 |
HERE |
8 |
+ |
9 |
+ my $pptpip = $account->prop('PPTPIP'); |
10 |
+ next unless ($pptpip); |
11 |
+ |
12 |
+ $OUT .= <<HER2; |
13 |
+ Framed-IP-Address = $pptpip, Framed-Netmask = 255.255.255.255 |
14 |
+HER2 |
15 |
} |
16 |
} |