summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bmpd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bmpd.go b/bmpd.go
index 7adb3134..018a945f 100644
--- a/bmpd.go
+++ b/bmpd.go
@@ -57,12 +57,12 @@ func main() {
serverHost := os.Getenv("BMPD_HOST")
if serverHost == "" {
- serverHost = DEFAULT_BMP_SERVER_HOST
+ serverHost = DEFAULT_BMPD_HOST
}
serverPort := os.Getenv("BMPD_PORT")
if serverPort == "" {
- serverPort = DEFAULT_BMP_SERVER_PORT
+ serverPort = DEFAULT_BMPD_PORT
}
listener, err := net.Listen("tcp", serverHost+":"+serverPort)