diff options
Diffstat (limited to 'src/osmo_common.c')
-rw-r--r-- | src/osmo_common.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/osmo_common.c b/src/osmo_common.c index 6352097..b90d339 100644 --- a/src/osmo_common.c +++ b/src/osmo_common.c @@ -62,8 +62,8 @@ const struct log_info log_info = { .num_cat = ARRAY_SIZE(default_categories), }; -const char *osmopcap_copyright = - "Copyright (C) 2011 Holger Freyther\r\n" +const char *osmopcap_copyright = + "Copyright (C) 2011-2017 Holger Freyther and contributors\r\n" "License AGPLv3+: GNU AGPL version 3 or later <http://gnu.org/licenses/agpl-3.0.html>\r\n" "This is free software: you are free to change and redistribute it.\r\n" "There is NO WARRANTY, to the extent permitted by law.\r\n"; @@ -86,15 +86,5 @@ int osmopcap_go_parent(struct vty *vty) break; } - return vty->node; -} - -int osmopcap_is_config_node(struct vty *vty, int node) -{ - switch (node) { - case CONFIG_NODE: - return 0; - default: - return 1; - } + return vty->node; } |