aboutsummaryrefslogtreecommitdiff
path: root/src/dns/gnunet-helper-dns.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-26 11:16:58 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-26 11:16:58 +0000
commit6307d275d8917d48b0a7b9bc56fc7009ad9898e3 (patch)
treea73e037e2126994064094f88acf59d7567148245 /src/dns/gnunet-helper-dns.c
parent34bdcc7f86ce248d9dec18686e65d165d582f714 (diff)
downloadgnunet-6307d275d8917d48b0a7b9bc56fc7009ad9898e3.tar.gz
gnunet-6307d275d8917d48b0a7b9bc56fc7009ad9898e3.zip
-doxygen, indent
Diffstat (limited to 'src/dns/gnunet-helper-dns.c')
-rw-r--r--src/dns/gnunet-helper-dns.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c
index a4da5943a..7649ced05 100644
--- a/src/dns/gnunet-helper-dns.c
+++ b/src/dns/gnunet-helper-dns.c
@@ -240,7 +240,7 @@ fork_and_exec (const char *file,
240 240
241 241
242/** 242/**
243 * Creates a tun-interface called dev; 243 * Creates a tun-interface called @a dev;
244 * 244 *
245 * @param dev is asumed to point to a char[IFNAMSIZ] 245 * @param dev is asumed to point to a char[IFNAMSIZ]
246 * if *dev == '\\0', uses the name supplied by the kernel; 246 * if *dev == '\\0', uses the name supplied by the kernel;
@@ -291,7 +291,7 @@ init_tun (char *dev)
291 291
292 292
293/** 293/**
294 * @brief Sets the IPv6-Address given in address on the interface dev 294 * @brief Sets the IPv6-Address given in @a address on the interface @a dev
295 * 295 *
296 * @param dev the interface to configure 296 * @param dev the interface to configure
297 * @param address the IPv6-Address 297 * @param address the IPv6-Address
@@ -388,7 +388,7 @@ set_address6 (const char *dev, const char *address, unsigned long prefix_len)
388 388
389 389
390/** 390/**
391 * @brief Sets the IPv4-Address given in address on the interface dev 391 * @brief Sets the IPv4-Address given in @a address on the interface @a dev
392 * 392 *
393 * @param dev the interface to configure 393 * @param dev the interface to configure
394 * @param address the IPv4-Address 394 * @param address the IPv4-Address
@@ -1008,7 +1008,7 @@ main (int argc, char *const*argv)
1008 /* now undo updating of routing tables; normal exit or clean-up-on-error case */ 1008 /* now undo updating of routing tables; normal exit or clean-up-on-error case */
1009 cleanup_route_4: 1009 cleanup_route_4:
1010 { 1010 {
1011 char *const route_clean_args[] = 1011 char *const route_clean_args[] =
1012 { 1012 {
1013 "ip", "route", "del", "default", "dev", dev, 1013 "ip", "route", "del", "default", "dev", dev,
1014 "table", DNS_TABLE, NULL 1014 "table", DNS_TABLE, NULL
@@ -1023,7 +1023,7 @@ main (int argc, char *const*argv)
1023 "ip", "rule", "del", "fwmark", DNS_MARK, "table", DNS_TABLE, NULL 1023 "ip", "rule", "del", "fwmark", DNS_MARK, "table", DNS_TABLE, NULL
1024 }; 1024 };
1025 if (0 != fork_and_exec (sbin_ip, forward_clean_args)) 1025 if (0 != fork_and_exec (sbin_ip, forward_clean_args))
1026 r += 2; 1026 r += 2;
1027 } 1027 }
1028 cleanup_mark_2: 1028 cleanup_mark_2:
1029 { 1029 {
@@ -1034,7 +1034,7 @@ main (int argc, char *const*argv)
1034 }; 1034 };
1035 if (0 != fork_and_exec (sbin_iptables, mark_clean_args)) 1035 if (0 != fork_and_exec (sbin_iptables, mark_clean_args))
1036 r += 4; 1036 r += 4;
1037 } 1037 }
1038 cleanup_mangle_1: 1038 cleanup_mangle_1:
1039 { 1039 {
1040 char *const mangle_clean_args[] = 1040 char *const mangle_clean_args[] =