diff options
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/ucis.ano/bgp_graph/bgp_path_list_bird.php | 2 | ||||
-rwxr-xr-x | doc/ucis.ano/bgp_graph/bgp_path_list_quagga.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ucis.ano/bgp_graph/bgp_path_list_bird.php b/doc/ucis.ano/bgp_graph/bgp_path_list_bird.php index 6ef71c7..cec2692 100755 --- a/doc/ucis.ano/bgp_graph/bgp_path_list_bird.php +++ b/doc/ucis.ano/bgp_graph/bgp_path_list_bird.php @@ -1,6 +1,6 @@ #!/usr/bin/php <?php -$mynode = 64766; +$mynode = array_key_exists('LOCALNODE',$_SERVER)?$_SERVER['LOCALNODE']:0; $fds = NULL; $proc = proc_open('birdc', array(0 => array('pipe','r'), 1 => array('pipe','w'), 2 => STDERR), $fds); diff --git a/doc/ucis.ano/bgp_graph/bgp_path_list_quagga.sh b/doc/ucis.ano/bgp_graph/bgp_path_list_quagga.sh index 97d750f..6f19cb6 100755 --- a/doc/ucis.ano/bgp_graph/bgp_path_list_quagga.sh +++ b/doc/ucis.ano/bgp_graph/bgp_path_list_quagga.sh @@ -1,6 +1,6 @@ #!/bin/sh -LOCALNODE=64520 +LOCALNODE=${LOCALNODE:-0} (sleep 0.2; echo "insecure"; |