File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1130,15 +1130,13 @@ impl AuthenticatedCmd for CmdBgpPeerSet {
11301130 enforce_first_as : self . enforce_first_as ,
11311131 hold_time : self . hold_time ,
11321132 idle_hold_time : self . idle_hold_time ,
1133- // interface_name: PHY0.try_into().unwrap(),
11341133 keepalive : self . keepalive ,
11351134 local_pref : self . local_pref ,
11361135 md5_auth_key : self . authstring . clone ( ) ,
11371136 min_ttl : self . min_ttl ,
11381137 multi_exit_discriminator : self . multi_exit_discriminator ,
11391138 remote_asn : self . remote_asn ,
11401139 vlan_id : self . vlan_id ,
1141- // router_lifetime: self.router_lifetime.unwrap_or(0),
11421140 } ;
11431141 match settings
11441142 . bgp_peers
@@ -1216,7 +1214,6 @@ impl AuthenticatedCmd for CmdBgpPeerDel {
12161214 RouterPeerType :: Numbered { ip } if * ip == self . addr => true ,
12171215 _ => false ,
12181216 } ) ;
1219- // != Some(self.addr));
12201217 let after = config. peers . len ( ) ;
12211218 if before == after {
12221219 eprintln_nopipe ! ( "no peers match the provided address" ) ;
You can’t perform that action at this time.
0 commit comments