Skip to content

Commit

Permalink
indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cnbatch committed May 8, 2024
1 parent c97fb48 commit 48c9778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openvpn/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ do_ifconfig_ipv6(struct tuntap *tt, const char *ifname, int tun_mtu,
/* read current fib number, codes are from: */
/* https://github.com/freebsd/freebsd-src/blob/f9716eee8ab45ad906d9b5c5233ca20c10226ca7/sbin/route/route.c#L269 */
int numfibs = 0, defaultfib = 0;
size_t len = sizeof(numfibs);
size_t len = sizeof(numfibs);
if (sysctlbyname("net.fibs", (void *)&numfibs, &len, NULL, 0) == -1)
numfibs = -1;

Expand Down Expand Up @@ -1621,7 +1621,7 @@ do_ifconfig_ipv4(struct tuntap *tt, const char *ifname, int tun_mtu,
/* read current fib number, codes are from: */
/* https://github.com/freebsd/freebsd-src/blob/f9716eee8ab45ad906d9b5c5233ca20c10226ca7/sbin/route/route.c#L269 */
int numfibs = 0, defaultfib = 0;
size_t len = sizeof(numfibs);
size_t len = sizeof(numfibs);
if (sysctlbyname("net.fibs", (void *)&numfibs, &len, NULL, 0) == -1)
numfibs = -1;

Expand Down

0 comments on commit 48c9778

Please sign in to comment.