diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-01-03 19:57:16 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-01-03 19:57:16 +0000 |
commit | 46480ea4b656e171b79503deb36c39560d6a01f4 (patch) | |
tree | efc701a773df6a1a90a84a467735803150e952c2 /net/mtr/files/patch-ui-mtr.c | |
parent | Update to 5.61 (diff) |
Fix MTR_OPTIONS parsing
- Bump PORTREVISION for package change
Reported by: Zeus Panchenko <zeus@ibs.dn.ua>
Obtained from: https://github.com/traviscross/mtr/commit/3649b04337d38725f58a3d8ebe7845cb7fa3cabf
Notes
Notes:
svn path=/head/; revision=489206
Diffstat (limited to 'net/mtr/files/patch-ui-mtr.c')
-rw-r--r-- | net/mtr/files/patch-ui-mtr.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/mtr/files/patch-ui-mtr.c b/net/mtr/files/patch-ui-mtr.c new file mode 100644 index 000000000000..020f056294e4 --- /dev/null +++ b/net/mtr/files/patch-ui-mtr.c @@ -0,0 +1,12 @@ +Obtained from: https://github.com/traviscross/mtr/commit/3649b04337d38725f58a3d8ebe7845cb7fa3cabf + +--- ui/mtr.c.orig 2017-02-05 07:27:33 UTC ++++ ui/mtr.c +@@ -301,6 +301,7 @@ static void init_fld_options( + ctl->available_options[i] = data_fields[i].key; + ctl->fld_index[data_fields[i].key] = i; + } ++ ctl->available_options[i++] = '_'; + ctl->available_options[i] = 0; + } + |