summaryrefslogtreecommitdiffhomepage
path: root/bmpd.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-09-16 07:58:21 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-09-16 07:58:21 +0900
commitfdd9613ed33b9a424c6d813fd9292da0b4b588b5 (patch)
tree7095c687414b02b1aa6c5b6076fc09aa4834a43a /bmpd.go
parentc5c16d7ef85ba0e7be6237256173684171a19ee1 (diff)
bmpd: fix typos
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'bmpd.go')
-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)