Rob Emery
183f6f7135
We need to parse both the .c and .h file, so now you can specify
...
either and it'll sort it out. adding --verbose for debugging
2026-10-25 09:07:14 +00:00
Rob Emery
4dee3d2ad2
Driving responses to be based on number of ports in machine
...
configuration
2026-10-25 09:07:14 +00:00
Rob Emery
77fc545c6a
Adding hardcoded responses for "dns" and "ntp" commands
2026-10-25 09:07:14 +00:00
Rob Emery
29542a5414
Hardcoded responses for the remaining endpoints that are duplicated
...
from my Hi-Source HI-k0801WS
2026-10-25 09:07:14 +00:00
Rob Emery
421e1f0c7d
The state of the tagged/untagged ports in the vlan is complete with
...
every command, so we need to start from empty each time
2026-10-25 09:07:14 +00:00
Rob Emery
813d7e7ae2
Reintroducing argument parsing that I somehow lost rebasing
2026-10-25 09:07:14 +00:00
Rob Emery
9088e73acb
Updating to mirror new macro structure used in #684
2026-10-25 09:07:14 +00:00
Rob Emery
2ecef98263
Updating to support \n separated commands, might need to support \r\n
...
as well, but this'll do for now
2026-10-25 09:07:14 +00:00
Rob Emery
8bd9231432
Adding support for renaming vlan
2026-10-25 09:07:14 +00:00
Rob Emery
16d61857b7
Handling "vlan 2"
2026-10-25 09:07:14 +00:00
Rob Emery
4ad0b7fd3d
Implementing removal of vlan
2026-10-25 09:07:14 +00:00
Rob Emery
7694f1a625
Adding management vlan state
2026-10-25 09:07:14 +00:00
Rob Emery
69dd977708
Add support for setting pvid to non existant vlans
2026-10-25 09:07:14 +00:00
Rob Emery
e83ff4d095
Renaming to _api for anything that is called from the http handler
...
to help seperate out the parsers that'll be coming in for cmd
putting all state under one global and implementing something resembling
vlan parsing
2026-10-25 09:07:14 +00:00
Rob Emery
a03b2259ef
Porting to python so it's easier to implement a full
...
switch-emulator with state
2026-10-25 09:07:14 +00:00
logicog
a18c334139
Merge pull request #649 from DrDoof/build/sdcc-in-tree
...
build: build SDCC 4.6.0 with the mcs51 fixes in the tree
2026-10-25 06:18:24 +01:00
d00f
53eb3f5486
Merge pull request #583 from avicarmeli/fix/cpu-vlan-init
...
Fix CPU port PVID initialization independent of user port range
2026-10-25 02:44:18 +01:00
feelfree69
f2c89fd75b
Merge pull request #651 from Kamikaze94/bugfix/sidebar-scrolling
...
WebUI: Lock sidebar layout and move scrolling to main element
2026-10-25 00:21:08 +02:00
avicarmeli
ca2f1d101d
Merge upstream main into CPU VLAN fix
2026-10-24 23:38:25 +03:00
d00f
9cc859ad30
build: carry the sdas fix for SDCC bug 4070
...
The 8051 assembler sign-extends every value to 24 bits, so the top
byte of a __sfr32 address list like 0xa4a5a6a7 comes out as 0xff.
The patch keeps 32-bit arithmetic while leaving the 24-bit T line
addresses alone, so the relocations are unchanged. Proposed upstream
in the bug thread. With it SFR_DATA_U32 can be used again, which
saves about 240 bytes of code in REG_SET.
2026-10-24 21:59:37 +02:00
d00f
0181276ec6
ci: build the in-tree SDCC and keep it between runs
...
The workflow and the Dockerfile install what building SDCC needs instead
of the distribution's sdcc, and the workflow caches toolchain/ keyed on
the contents of sdcc/.
2026-10-24 21:59:37 +02:00
d00f
905e588071
build: build SDCC 4.6.0 with two mcs51 fixes in the tree
...
Released SDCC 4.5.0 and 4.6.0 miscompile some of our code in the mcs51
register allocator (SDCC bugs 4153 and 4154, fixed in trunk r17025 and
r17039). The first make now downloads the 4.6.0 sources, checks their
sha256, applies the two fixes from sdcc/ and installs the compiler into
toolchain/, named after a checksum of sdcc/, so a changed patch builds a
new one. make CC=sdcc still uses an installed compiler.
2026-10-24 21:58:46 +02:00
feelfree69
bb16302a80
Merge pull request #622 from bloqaudio/fix/port-counter-lines
...
web: give each packet counter of a port its own line
2026-10-24 19:56:44 +02:00
feelfree69
50fda40fd9
Merge pull request #584 from bloqaudio/fix/mirror-status
...
mirror: show the configured monitor port in "mirror status"
2026-10-24 19:54:44 +02:00
feelfree69
9c65039bab
Merge pull request #623 from bloqaudio/fix/save-button-dirty
...
web: highlight Save to flash only when there are unsaved changes
2026-10-24 19:39:55 +02:00
feelfree69
7e0bc93b55
Merge pull request #503 from bloqaudio/fix/uip-fragment-log-rate-limit
...
uip: rate-limit the dropped-fragment log
2026-10-24 16:40:33 +02:00
feelfree69
e1e1292ab0
Merge pull request #621 from bloqaudio/fix/num-header-align
...
web: right-align the headers of number columns
2026-10-24 16:36:11 +02:00
feelfree69
975caaff02
Merge pull request #633 from bloqaudio/fix/save-merge-lldp
...
web: keep LLDP lines from piling up in the saved configuration
2026-10-24 16:05:59 +02:00
feelfree69
cffe4793b1
Merge pull request #695 from L4ky/add-keeplink-kp90009xhpx
...
Add KeepLink KP-9000-9XHP-X as brand of POE-2G080110GS
2026-10-24 13:53:01 +02:00
feelfree69
9ed1e89c8b
Merge pull request #698 from rwalli/fix/firefox-pw-autofill
...
Web UI: keep Firefox from autofilling the new admin password
2026-10-24 13:50:26 +02:00
feelfree69
ba2f759df3
Merge pull request #696 from rwalli/fix/uptime-ram-counter
...
rtl8372_init: set SDS 0 to SGMII as the stock firmware does
2026-10-24 12:44:58 +02:00
robs
884a1ac016
CHANGELOG: SDS 0 init on RTL8372 boards without 10G ports
2026-10-24 08:45:03 +02:00
robs
51ed063dcb
rtl8372_init: set SDS 0 to SGMII as the stock firmware does
...
The masks were 0, so 0x3e2 was ORed into the reset value 0xbff and both
SerDes stayed off on boards without 10G ports (n_10g == 0), e.g. the
HC-SWTG124AS. With SDS 0 off RTL837X_REG_SEC_COUNTER does not hold a
written value: it reads 0, so NTP never retried after a failed first
attempt at boot and froze the clock after a sync.
Tested with regset on an HC-SWTG124AS: the register keeps a write with
SDS 0 in SGMII or 10GR, not with SDS 0 off (also not with only SDS 1
on).
2026-10-24 08:30:27 +02:00
robs
0da6318777
Web UI: keep Firefox from autofilling the new admin password
...
Firefox filled a saved login into the System tab's password fields and
its user name into the NTP poll interval, the input before them. That
input event marked the Time card as edited, so ntpLoad() left NTP off,
the server empty and the time zone at UTC-12:00.
2026-10-24 01:20:45 +02:00
Luca S.
d13a5d125d
Add KeepLink KP-9000-9XHP-X as brand of POE-2G080110GS
2026-10-24 00:21:28 +02:00
feelfree69
889c94404c
Merge pull request #656 from andrebrait/fix/upload-any-part-type
...
Accept firmware uploads independent of file MIME type
2026-10-23 08:15:07 +02:00
feelfree69
0f98734ae2
Merge branch 'main' into fix/upload-any-part-type
2026-10-23 08:09:07 +02:00
feelfree69
2d0abbbca0
Merge pull request #691 from hlyi/clean-min-max-port
...
clean up min_port and max_port from struct after PR#684
2026-10-23 08:08:14 +02:00
feelfree69
fdcdfa9b45
Merge pull request #659 from andrebrait/fix/health-lldp-phase
...
health: give the LLDP phase a valid slot in the phase arrays
2026-10-23 08:07:31 +02:00
HL Yi
c043c671d7
clean up min_port and max_port from struct after PR#684
2026-10-22 18:34:44 -05:00
René van Dorst
11a24783e4
Merge pull request #682 from hlyi/remove-custom-init
...
replacing machine_init.c with individual init c files
2026-10-22 19:41:08 +00:00
feelfree69
e864c32980
Merge branch 'main' into remove-custom-init
2026-10-22 21:31:41 +02:00
René van Dorst
bb329daab0
Merge pull request #684 from hlyi/use-macro
...
use macro for min_port and max_port for code optimization
2026-10-22 19:09:24 +00:00
feelfree69
89c8903454
Merge pull request #690 from mintsoft/gh-comment-path-fix
...
Fixing path on the du command to respect new structure
2026-10-22 20:58:58 +02:00
Rob Emery
63a3bc50d6
Removing the comment step as this is erroring with
...
Error: Resource not accessible by integration
and I think the repository owner will need to check
the settings on the repo
2026-10-22 19:53:35 +01:00
Rob Emery
a94be7d524
Fixing path on the du command to respect new structure
2026-10-22 19:53:00 +01:00
feelfree69
50be5308d9
Merge pull request #689 from mintsoft/build-fix-2
...
Fix for 688
2026-10-22 20:25:17 +02:00
Rob Emery
9731a33fa9
Adding missing? permission to fix the build
2026-10-22 19:16:50 +01:00
feelfree69
c3dddd9c90
Merge pull request #688 from mintsoft/build-fix
...
Fix build after #529
2026-10-22 19:28:25 +02:00
Rob Emery
6e5617c82f
Fixing path to tools builds now they have injected BUILDDIR from the
...
main Makefile
2026-10-22 18:22:14 +01:00