]> git.proxmox.com Git - proxmox-backup.git/commitdiff
cleanup previous commit...
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 16 Jan 2019 13:19:12 +0000 (14:19 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 16 Jan 2019 13:19:13 +0000 (14:19 +0100)
This kind of notation is weird...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/bin/proxmox-backup-api.rs

index dfed59837bc05964ae6e9667b1e800f3e602b567..1982ecc624c49603d70c59dec1f3e810f30ee3a8 100644 (file)
@@ -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();