Skip to content

Commit

Permalink
remove tcp mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Jul 27, 2023
1 parent b2e54a6 commit c29eb9f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions web/locales/en/plugin__netobserv-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@
"A _LINUX_TCP_STATES_H number like 1, 2, 3": "A _LINUX_TCP_STATES_H number like 1, 2, 3",
"A _LINUX_TCP_STATES_H TCP name like ESTABLISHED, SYN_SENT, SYN_RECV": "A _LINUX_TCP_STATES_H TCP name like ESTABLISHED, SYN_SENT, SYN_RECV",
"Packet drop latest cause": "Packet drop latest cause",
"Specify a single TCP drop cause.": "Specify a single TCP drop cause.",
"Specify a single TCP drop cause like:": "Specify a single TCP drop cause like:",
"Specify a single packet drop cause.": "Specify a single packet drop cause.",
"Specify a single packet drop cause like:": "Specify a single packet drop cause like:",
"A _LINUX_DROPREASON_CORE_H number like 2, 3, 4": "A _LINUX_DROPREASON_CORE_H number like 2, 3, 4",
"A _LINUX_DROPREASON_CORE_H SKB_DROP_REASON name like NOT_SPECIFIED, NO_SOCKET, PKT_TOO_SMALL": "A _LINUX_DROPREASON_CORE_H SKB_DROP_REASON name like NOT_SPECIFIED, NO_SOCKET, PKT_TOO_SMALL",
"Specify a single DNS Id.": "Specify a single DNS Id.",
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/netflow-record/record-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { formatDurationAboveMillisecond } from '../../utils/duration';
import { getICMPCode, getICMPType, ICMP_CODES_VALUES, ICMP_TYPES_VALUES } from '../../utils/icmp';
import { formatPort } from '../../utils/port';
import { formatProtocol } from '../../utils/protocol';
import { DROP_CAUSES_NAMES, getDropCauseDescription } from '../../utils/tcp-drop';
import { DROP_CAUSES_NAMES, getDropCauseDescription } from '../../utils/pkt-drop';
import { Size } from '../dropdowns/table-display-dropdown';
import './record-field.css';

Expand Down
4 changes: 2 additions & 2 deletions web/src/utils/filter-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@ export const getFilterDefinitions = (
component: FilterComponent.Autocomplete,
getOptions: cap10(getDropCauseOptions),
validate: rejectEmptyValue,
hint: t('Specify a single TCP drop cause.'),
examples: `${t('Specify a single TCP drop cause like:')}
hint: t('Specify a single packet drop cause.'),
examples: `${t('Specify a single packet drop cause like:')}
- ${t('A _LINUX_DROPREASON_CORE_H number like 2, 3, 4')}
- ${t('A _LINUX_DROPREASON_CORE_H SKB_DROP_REASON name like NOT_SPECIFIED, NO_SOCKET, PKT_TOO_SMALL')}`,
encoder: simpleFiltersEncoder('PktDropLatestDropCause'),
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/filter-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { splitResource, SplitStage } from '../model/resource';
import { autoCompleteCache } from './autocomplete-cache';
import { DNS_RCODES } from './dns';
import { getPort, getService } from './port';
import { DROP_CAUSES, DROP_STATES } from './tcp-drop';
import { DROP_CAUSES, DROP_STATES } from './pkt-drop';

export const noOption: (value: string) => Promise<FilterOption[]> = () => Promise.resolve([]);

Expand Down
File renamed without changes.

0 comments on commit c29eb9f

Please sign in to comment.