diff options
author | Christian Hesse <mail@eworm.de> | 2015-06-03 21:21:57 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-06-03 21:21:57 +0200 |
commit | 659bbd0bef562badec1bc2d3c092a0d8781f6878 (patch) | |
tree | 8899cb0bdc4037575efd0c3b5bb0ed950e171231 /dyndhcpd.h | |
parent | d3fda7698f46592208fbb215f89c965cb97098c5 (diff) | |
download | dyndhcpd-659bbd0bef562badec1bc2d3c092a0d8781f6878.tar.gz dyndhcpd-659bbd0bef562badec1bc2d3c092a0d8781f6878.tar.zst |
introduce a struct address to store the information
Diffstat (limited to 'dyndhcpd.h')
-rw-r--r-- | dyndhcpd.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,6 +24,11 @@ #include "config.h" #include "version.h" +struct address { + struct in_addr i; + char c[INET_ADDRSTRLEN]; +}; + /*** replace ***/ int replace(char ** config, size_t *length, const char ** tmp, const char * template, const char * value); |