]> git.puffer.fish Git - mirror/frr.git/commitdiff
[lib] command.c exports host global, add it to header.
authorPaul Jakma <paul.jakma@sun.com>
Thu, 30 Mar 2006 15:00:30 +0000 (15:00 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Thu, 30 Mar 2006 15:00:30 +0000 (15:00 +0000)
2006-03-14 Paul Jakma <paul.jakma@sun.com>

* privs.c: (zprivs_caps_init) Change user IDs before lowering
  privileges, while this seems to work on Linux, on Solaris
  it rightfully refuses due to PRIV_PROC_SETID having been
  dropped.
* command.h: Add the struct host global exported from command.c

lib/ChangeLog
lib/command.h

index cf0278af5e7774346eb48edc7243515baf80b34a..9e6dc852200e2556ea2c604b3bd52dc9f7fb7110 100644 (file)
@@ -41,6 +41,7 @@
          privileges, while this seems to work on Linux, on Solaris
          it rightfully refuses due to PRIV_PROC_SETID having been
          dropped.
+       * command.h: Add the struct host global exported from command.c
 
 2006-03-06 Paul Jakma <paul.jakma@sun.com>
 
index 26013e2263fc4b47bfc0e578cb48341102ac5738..99aec3324802723cab8a9bf06949eefb5c2ee2cd 100644 (file)
@@ -354,5 +354,7 @@ extern char *host_config_file (void);
 extern void host_config_set (char *);
 
 extern void print_version (const char *);
-  
+
+/* struct host global, ick */
+extern struct host host; 
 #endif /* _ZEBRA_COMMAND_H */