From 1dcd52e5dfd095bc0355c97708ea426769b53426 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 16 Jan 2019 14:19:12 +0100 Subject: [PATCH] cleanup previous commit... This kind of notation is weird... Signed-off-by: Wolfgang Bumiller --- src/bin/proxmox-backup-api.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/proxmox-backup-api.rs b/src/bin/proxmox-backup-api.rs index dfed5983..1982ecc6 100644 --- a/src/bin/proxmox-backup-api.rs +++ b/src/bin/proxmox-backup-api.rs @@ -1,7 +1,6 @@ extern crate proxmox_backup; use std::sync::Arc; -use std::net::{Ipv6Addr, SocketAddrV6}; use proxmox_backup::api::schema::*; use proxmox_backup::api::router::*; @@ -65,7 +64,7 @@ fn main() { }, } - let addr = SocketAddrV6::new(Ipv6Addr::new(0,0,0,0,0,0,0,0), 8007, 0, 0).into(); + let addr = ([0,0,0,0,0,0,0,0], 8007).into(); lazy_static!{ static ref ROUTER: Router = proxmox_backup::api3::router();