Commit 6bc045c0 authored by Max Verevkin's avatar Max Verevkin
Browse files

Socket: make fields private

parent d2df61d2
......@@ -16,8 +16,8 @@ use neli::types::GenlBuffer;
/// A generic netlink socket to send commands and receive messages
pub struct Socket {
pub sock: NlSocketHandle,
pub family_id: u16,
sock: NlSocketHandle,
family_id: u16,
}
impl Socket {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment