Make local-port independently

This commit is contained in:
Robert Langhammer 2018-03-11 11:47:17 +01:00
parent 22ab5c003a
commit e17f6d5505
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<?php
error_reporting(0);
$addr = "::1";
$port = "33123";
$port = shell_exec('grep local-port /etc/babeld.conf | cut -d" " -f 2');
$msg = "dump\r\n";
$sock = socket_create(AF_INET6, SOCK_STREAM, 0) or die("Cannot create socket");