Skip to content

Commit

Permalink
Merge pull request #61 from telekom-mms/bugfix/fix-comments
Browse files Browse the repository at this point in the history
Fix comments
  • Loading branch information
hwipl authored Mar 25, 2024
2 parents 0ddad25 + c14c962 commit fc32c83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/dnsproxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (p *Proxy) handleRequest(w dns.ResponseWriter, r *dns.Msg) {
continue
}

// get TTL and enforce minimum TTL
// get TTL
ttl := a.Header().Ttl

switch a.Header().Rrtype {
Expand All @@ -93,7 +93,7 @@ func (p *Proxy) handleRequest(w dns.ResponseWriter, r *dns.Msg) {
report.Wait()

case dns.TypeCNAME:
// CNAME recort, store temporary watch
// CNAME record, store temporary watch
rr, ok := a.(*dns.CNAME)
if !ok {
log.Error("DNS-Proxy received invalid CNAME record in reply")
Expand Down
2 changes: 1 addition & 1 deletion internal/vpncscript/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func createConfigSplit(env *env, config *vpnconfig.Config) error {
// set dns excludes
config.Split.ExcludeDNS = env.dnsSplitExc

// set exclude virtual subnets only IPv5 flag
// set exclude virtual subnets only IPv4 flag
config.Split.ExcludeVirtualSubnetsOnlyIPv4 =
env.bypassVirtualSubnetsOnlyV4

Expand Down

0 comments on commit fc32c83

Please sign in to comment.