1 |
diff -Nur --no-dereference smeserver-wireguard-1.0.old/root/etc/e-smith/db/configuration/migrate/wireguard smeserver-wireguard-1.0/root/etc/e-smith/db/configuration/migrate/wireguard |
2 |
--- smeserver-wireguard-1.0.old/root/etc/e-smith/db/configuration/migrate/wireguard 2021-10-26 23:15:10.000000000 -0400 |
3 |
+++ smeserver-wireguard-1.0/root/etc/e-smith/db/configuration/migrate/wireguard 2021-10-27 17:28:48.614000000 -0400 |
4 |
@@ -18,7 +18,7 @@ |
5 |
my $minimum=16; |
6 |
my $maximum=32; |
7 |
my $x = $minimum + int(rand($maximum - $minimum)); |
8 |
-$DB->set_prop('wg-quick@wg0', 'ip', "172.$x.0.0") ; |
9 |
+$DB->set_prop('wg-quick@wg0', 'ip', "172.$x.0.1") ; |
10 |
} |
11 |
|
12 |
} |