Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/dhcp/includes Add omapi key.



details:   https://anonhg.NetBSD.org/src/rev/80d8b30c8251
branches:  trunk
changeset: 565144:80d8b30c8251
user:      mellon <mellon%NetBSD.org@localhost>
date:      Tue Mar 30 19:41:35 2004 +0000

description:
Add omapi key.

diffstat:

 dist/dhcp/includes/dhcpd.h |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 1e891b858db1 -r 80d8b30c8251 dist/dhcp/includes/dhcpd.h
--- a/dist/dhcp/includes/dhcpd.h        Tue Mar 30 19:40:58 2004 +0000
+++ b/dist/dhcp/includes/dhcpd.h        Tue Mar 30 19:41:35 2004 +0000
@@ -722,12 +722,15 @@
 
        struct iaddrlist *reject_list;  /* Servers to reject. */
 
-       int omapi_port;                 /* port on which to accept OMAPI
-                                          connections, or -1 for no
-                                          listener. */
        int do_forward_update;          /* If nonzero, and if we have the
                                           information we need, update the
                                           A record for the address we get. */
+
+       omapi_auth_key_t *omapi_key;    /* Key to use for authenticating
+                                          OMAPI connections. */
+       int omapi_port;                 /* Port on which to listen for OMAPI
+                                          connections. */
+
 };
 
 /* Per-interface state used in the dhcp client... */



Home | Main Index | Thread Index | Old Index