make default interval 20 seconds, as pppoe timeout default is 15
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# $Id: heartbeat,v 1.2 2005/02/27 16:41:40 andreas Exp $
|
# $Id: heartbeat,v 1.3 2005/05/17 14:57:56 andreas Exp $
|
||||||
import sys, time, socket, os, signal
|
import sys, time, socket, os, signal
|
||||||
|
|
||||||
ADDR="204.29.161.33"
|
ADDR="204.29.161.33"
|
||||||
#ADDR="10.99.1.4"
|
#ADDR="10.99.1.4"
|
||||||
PORT=50003
|
PORT=50003
|
||||||
INTERVAL=10
|
INTERVAL=20
|
||||||
|
|
||||||
def handler(signum, frame):
|
def handler(signum, frame):
|
||||||
global up
|
global up
|
||||||
|
|||||||
Reference in New Issue
Block a user