-
Notifications
You must be signed in to change notification settings - Fork 731
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel Engberg
authored and
Daniel Engberg
committed
May 1, 2024
1 parent
2c866c8
commit 72a5b7a
Showing
4 changed files
with
46 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
--- cmd/godns/godns.go.orig 2024-02-04 03:14:27 UTC | ||
--- cmd/godns/godns.go.orig 2024-04-28 13:36:13 UTC | ||
+++ cmd/godns/godns.go | ||
@@ -22,11 +22,11 @@ var ( | ||
|
||
@@ -23,11 +23,11 @@ var ( | ||
var ( | ||
config settings.Settings | ||
optAddr = flag.String("a", ":9000", "Specify the address to listen on") | ||
- optConf = flag.String("c", "./config.json", "Specify a config file") | ||
+ optConf = flag.String("c", "%%PREFIX%%/etc/godns-config.json", "Specify a config file") | ||
optHelp = flag.Bool("h", false, "Show help") | ||
|
||
// Version is current version of GoDNS. | ||
- Version = "0.1" | ||
- Version = "v0.1" | ||
+ Version = "%%DISTVERSION%%" | ||
) | ||
|
||
func init() { | ||
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters