summaryrefslogtreecommitdiff
path: root/src/ip4.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-09 15:50:21 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-09 15:50:21 +0200
commit795ffc5e62e8ba383575dbcd9943a580d4bd3358 (patch)
treec128889056202b255e2f22afeb7717894d350862 /src/ip4.c
parent5fadc0cbb8577c61d66bd6f19ceaf0507c11e23b (diff)
formatting changes
Manual format adjustments. Comment adjustments. Remove usage of the register keyword.
Diffstat (limited to 'src/ip4.c')
-rw-r--r--src/ip4.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ip4.c b/src/ip4.c
index c9ab153..6e522aa 100644
--- a/src/ip4.c
+++ b/src/ip4.c
@@ -4,10 +4,10 @@
#include "str.h"
/**
- @file ip4.c
- @author djb, fefe, feh, kp
- @source ucspi-tcp, ucspi-tcp6
- @brief handling of IPv4 addresses
+ @file ip4.c
+ @author djb, fefe, feh, kp
+ @source ucspi-tcp, ucspi-tcp6
+ @brief handling of IPv4 addresses
*/
/**
@@ -133,7 +133,7 @@ unsigned int ip4_cidr(char *s, char ip[4], unsigned long *plen)
}
/**
- @brief ip4_bytestring
+ @brief ip4_bytestring
parse IPv4 address and represent as char string with length prefix
@param input: IPv4 char array, prefix length
output: pointer to stralloc bytestring