generalize node holder connection
This commit is contained in:
parent
7ea43b101d
commit
3e2dc9099a
7 changed files with 30 additions and 31 deletions
|
|
@ -1,4 +1,7 @@
|
|||
use std::process::abort;
|
||||
|
||||
use cfg_if::cfg_if;
|
||||
use log::error;
|
||||
|
||||
cfg_if! {
|
||||
if #[cfg(feature = "prudpv0")]{
|
||||
|
|
@ -9,3 +12,8 @@ cfg_if! {
|
|||
compile_error!("no proxy type has been set");
|
||||
}
|
||||
}
|
||||
|
||||
pub fn edge_node_dc_callback() {
|
||||
error!("disconnected from node holder, aborting!");
|
||||
abort()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue